| To: | Thomas Graf <tgraf@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] [NET]: Fix deletion of local addresses only varying in prefix length |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 5 Mar 2005 07:40:00 +1100 |
| Cc: | davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050304131419.GE31837@xxxxxxxxxxxxxx> |
| References: | <20050304012003.GA31837@xxxxxxxxxxxxxx> <E1D78DN-0002te-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20050304131419.GE31837@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Fri, Mar 04, 2005 at 02:14:19PM +0100, Thomas Graf wrote: > > I do not agree but I might have a better idea. Let's change iproute2 > to provide a prefixlength of 0 if no prefix was specified and only > compare the prefixes if it is non zero. This allows for accurate > deletion, no scripts will break (except for really really broken ones). > Given there are multiple matching addresses only varying in prefix > length and no prefix was specified the first one will get deleted but > this is well defined. Yep this is a good solution. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: netif_rx packet dumping, Jason Lunz |
|---|---|
| Next by Date: | Re: [PATCH] [NET]: Fix deletion of local addresses only varying in prefix length, Herbert Xu |
| Previous by Thread: | Re: [PATCH] [NET]: Fix deletion of local addresses only varying in prefix length, Thomas Graf |
| Next by Thread: | Re: [PATCH] [NET]: Fix deletion of local addresses only varying in prefix length, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |