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-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2020-11-12 22:50:53 +01:00
2021-02-22 14:54:14 +01:00
2020-11-18 18:38:44 +01:00
2020-11-06 15:57:52 +01:00
2021-02-22 14:54:14 +01:00
2020-10-23 11:27:48 +02:00
2021-01-21 10:03:44 +01:00
2021-01-18 14:14:13 +01:00
2021-01-21 11:22:32 +01:00
2021-01-26 17:40:30 +01:00
2021-02-22 14:54:14 +01:00
2020-11-25 12:00:13 +01:00
2021-02-22 14:54:15 +01:00
2021-03-15 10:36:46 +01:00
2021-02-22 14:54:15 +01:00
2020-10-23 11:27:48 +02:00
2020-11-06 15:57:53 +01:00
2021-02-22 14:56:37 +01:00
2020-11-23 16:56:34 +01:00