On Thu, Oct 22, 2020 at 04:16:36PM +0200, Vincent Bernat wrote:
> With net.ipv4.conf.XXX.ignore_routes_with_linkdown sysctl, a user can
> ensure the kernel does not use a route whose target interface is down.
> The route is marked with a "dead"/RTNH_F_DEAD flag. Currently, BIRD
> still uses and distributes this route. This patch just ignores such a
> route.
> 
> This patch could be backported to 1.6.x.

Hi

Would not be better to convert netlink message with RTNH_F_DEAD to a
withdraw? I guess that when a route became marked as dead, kerne sends
asynchronous notification about that. This patch would just wait for
a periodic scan to remove the route.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: [email protected])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Reply via email to