[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f6d1271c8c6811acbbc5b2603c72115.squirrel@nlc.no>
Date: Mon, 16 Apr 2012 22:21:46 +0200
From: "Stian Skjelstad" <stian@...ia.no>
To: "Denys Fedoryshchenko" <denys@...p.net.lb>
Cc: "Stephen Hemminger" <shemminger@...tta.com>,
"Stian Skjelstad" <stian@...ia.no>, eric.dumazet@...il.com,
stephen.hemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: Netlink, route monitoring, RTM_DELROUTE not issued for ppp peer
address. Bug or feature?
> It looks like "correct" behavior should not harm existing programs that
> much (just there will be netlink message to delete route that are
> already deleted by program, e.g. quagga), but looking to code,
> implementing this feature will make significant overhead and in some
> cases it can be harmful.
> For example if full view BGP interface dropped, it is hundreds of
> thousands netlink messages. So seems better i will listen to
> address/link changes also and keep routing table in memory.
> So better seems to keep as is.
If I understand correct, the "missing" RTM_DELROUTE messages actually
comes from something similar to "ip route flush dev eth0".
If the amount of traffic is a worry, couldn't there be a RTM_FLUSHROUTE or
a special RTM_DELROUTE message that tells that all routes for a given
device is removed?
Stian Skjelstad
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists