| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: ip route del bug? |
| From: | Jamal Hadi Salim <hadi@xxxxxxxx> |
| Date: | Thu, 05 May 2005 15:15:24 -0400 |
| Cc: | Stephen Hemminger <shemminger@xxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <427A6B77.1030200@trash.net> |
| Organization: | ZNYX Networks |
| References: | <427A3370.3090001@skywaywest.com> <20050505113557.7d21baf2@dxpl.pdx.osdl.net> <427A6B77.1030200@trash.net> |
| Reply-to: | hadi@xxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 2005-05-05 at 20:52 +0200, Patrick McHardy wrote: > Stephen Hemminger wrote: > > It looks like an accidental behaviour (of the kernel) in response to > > an ip route delete netlink message with no additional data. > > I don't believe it is accidental, it seems correct to me to delete > the default route when no more specific selector is given. To avoid > this, iproute could print an error when dst.bytelen == 0. Agreed - basically the kernel does what its told. I think the check should be on missing dst (default will always give you bytelen of 0 for example and is legit). Patchlet attached. cheers, jamal
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Mystery packet killing tg3, Peter Buckingham |
|---|---|
| Next by Date: | Re: MultiPath Routing, Christian Schmid |
| Previous by Thread: | Re: ip route del bug?, Patrick McHardy |
| Next by Thread: | Re: netfilter6: ICMPv6 type 143 doesn't match, Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |