Commit 0c095898 authored by Robert Lubos's avatar Robert Lubos Committed by Fabio Baltieri
Browse files

net: shell: Prevent deadlock with net arp command



In case one of the networking shell backends is enabled, net arp command
could potentially trigger a deadlock, as it locks the ARP mutex before
TCP connection mutex, while TCP stack could do this in reverse order
(for instance when sending ACK or retransmission).

Mitigate this, by forcing a separate TX thread in such case, so that ARP
mutex is no longer accessed with TCP mutex locked.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 37e1a116
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment