]> git.ipfire.org Git - thirdparty/bird.git/commit
RAdv: Buffer prefixes awhile after they disappear
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 11 Aug 2017 10:25:36 +0000 (12:25 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 30 Aug 2017 14:34:15 +0000 (16:34 +0200)
commite2d2b3ef21f082a034e79d0880d4b36428029a59
treedae12f76ed7901e68be0dd24f44402fadeec9986
parent3ac5d1ce4c10719dd48555521a50d4a9c5eadd15
RAdv: Buffer prefixes awhile after they disappear

Keep a cache of all the relevant prefixes we send out. When a prefix
appears, insert it into the cache. If it dies, keep it there for a
while, marked as dead.

Send out the dead prefixes with zero lifetime.
proto/radv/packets.c
proto/radv/radv.c
proto/radv/radv.h