1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00
Martine Lenders 4b4eaf3b76
gnrc_ipv6_nib: fix acquire race on gnrc_ipv6_nib_get_next_hop_l2addr()
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.
2021-05-05 17:48:24 +02:00
..
2021-01-26 16:17:18 +01:00
2020-10-23 11:27:48 +02:00
2020-11-13 22:59:09 +01:00
2021-01-21 11:22:33 +01:00
2018-03-06 14:00:32 +01:00
2018-06-11 19:12:02 +02:00
2015-08-30 14:00:33 +02:00