]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
inet6: Ensure expired routers are cleared after a carrier loss
authorRoy Marples <roy@marples.name>
Thu, 6 Feb 2020 12:54:11 +0000 (12:54 +0000)
committerRoy Marples <roy@marples.name>
Thu, 6 Feb 2020 13:06:43 +0000 (13:06 +0000)
commit8cd6efabfcf2e361b65fa62c18ce6b2ac17a604e
tree10c0f842eb21794cbe88a568c17112ae9e5bfb2b
parent791fbfc05b58f888522e207582155cad02b3eedb
inet6: Ensure expired routers are cleared after a carrier loss

When we lose carrier, mark all RAs as willexpire and add
the timeout to expire to it's own queue.
On receipt of a matching RA, clear the willexpire flag.
When the above timeout occours, set doexpire on all
RA's with withexpire and then call the general expirera function.

This is needed because expirera can be called at any point.
src/ipv6nd.c
src/ipv6nd.h