NetworkManager/src/ndisc
Thomas Haller 92b7c3698a
rdisc: avoid static variable in receive_ra()
It's unnecessary and makes the function unnecessarily not thread safe.
Of course, also ndp_msg_opt_route_prefix() uses static variables, so
it's still not thread safe.

Fixes: c3a4656a68 ('rdisc: libndp implementation')
(cherry picked from commit fbb65de32e)
(cherry picked from commit a1a3cce6ef)
(cherry picked from commit 2f419e84c8)
2020-09-09 08:15:21 +02:00
..
tests ndisc/tests: relax assertion in "test-ndisc-fake.c" 2020-09-08 14:53:10 +02:00
nm-fake-ndisc.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-fake-ndisc.h ndisc: rename NMNDiscPreference to NMIcmpv6RouterPref 2017-10-12 10:27:27 +02:00
nm-lndp-ndisc.c rdisc: avoid static variable in receive_ra() 2020-09-09 08:15:21 +02:00
nm-lndp-ndisc.h ndisc/lndp: add ability to announce the managed IPv6 configuration 2016-11-09 17:23:32 +01:00
nm-ndisc-private.h ndisc: fix updating address lifetime on Router Announcement according to RFC4862 2018-10-13 17:11:52 +02:00
nm-ndisc.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-ndisc.h build: avoid header conflict for <linux/if.h> and <net/if.h> with "nm-platform.h" 2018-11-12 16:02:35 +01:00