mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
4b4eaf3b76
When two threads use `gnrc_ipv6_nib_get_next_hop_l2addr()` to determine a next hop (e.g. when there is both an IPv6 sender and a 6LoWPAN fragment forwarder), a race condition may happen, where one thread acquires the NIB and the other acquires the network interface resulting in a deadlock. By releasing the NIB (if acquired) before trying to acquire the network interface and re-acquiring the NIB after the network interface is acquired, this is fixed. |
||
---|---|---|
.. | ||
_nib-6ln.c | ||
_nib-6ln.h | ||
_nib-6lr.c | ||
_nib-6lr.h | ||
_nib-arsm.c | ||
_nib-arsm.h | ||
_nib-internal.c | ||
_nib-internal.h | ||
_nib-router.c | ||
_nib-router.h | ||
_nib-slaac.c | ||
_nib-slaac.h | ||
Kconfig | ||
Makefile | ||
nib_abr.c | ||
nib_ft.c | ||
nib_nc.c | ||
nib_pl.c | ||
nib.c |