Commit 9e6256e
net: iface: Prevent iface/TCP mutexes deadlock
In rare occasions iface and TCP mutexes could cause a deadlock. As
notifying the interface readiness takes place just before the iface
mutex is released, it should be not harm to release it just before the
TCP is notified about interface going down to avoid the deadlock.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>1 parent ba6387f commit 9e6256e
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5762 | 5762 | | |
5763 | 5763 | | |
5764 | 5764 | | |
5765 | | - | |
5766 | 5765 | | |
5767 | 5766 | | |
5768 | 5767 | | |
| |||
5774 | 5773 | | |
5775 | 5774 | | |
5776 | 5775 | | |
| 5776 | + | |
| 5777 | + | |
| 5778 | + | |
| 5779 | + | |
| 5780 | + | |
| 5781 | + | |
5777 | 5782 | | |
5778 | 5783 | | |
5779 | 5784 | | |
| |||
0 commit comments