[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120416140033.6a6c0f45@nehalam.linuxnetplumber.net>
Date: Mon, 16 Apr 2012 14:00:33 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: "Stian Skjelstad" <stian@...ia.no>
Cc: "Denys Fedoryshchenko" <denys@...p.net.lb>, 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?
On Mon, 16 Apr 2012 22:21:46 +0200
"Stian Skjelstad" <stian@...ia.no> wrote:
> > 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?
>
No. new message type would confuse all the things that listen now.
--
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