Removing device-bound routes when interface is going down

Ondrej Zajicek santiago at crfreenet.org
Tue Aug 19 00:35:22 CEST 2014


On Mon, Aug 18, 2014 at 08:32:37PM +0200, Alexander Demenshin wrote:
> On 2014-08-18 19:54, Sergey Popovich wrote:
> 
> >Summary is that if you have ~500k routes in the BIRD and interface
> >where nexthop of such routes changes its operstate kernel should
> >sent notification about each of them (~500k).
> 
> I see... thank you - this didn't cross my mind :)
> 
> But nevertheless, what about handling this in bird directly, by watching
> for "interface deleted" (not "operstate down"!) event and cleaning up
> [kernel linked] routes that use this device? Kernel deletes them anyway.

That probably should be implemented. Thanks for the suggestion.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20140819/ba0ff788/attachment-0001.asc>


More information about the Bird-users mailing list