netdev
[Top] [All Lists]

Re: IPv6 badness continues

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: Re: IPv6 badness continues
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Jan 2005 05:35:45 +1100
Cc: Netdev <netdev@xxxxxxxxxxx>, YOSHIFUJI Hideaki / ???????????? <yoshfuji@xxxxxxxxxxxxxx>
In-reply-to: <41E01746.3080501@xxxxxxxxx>
References: <41DA3A60.8050102@xxxxxxxxx> <20050108042509.GA1959@xxxxxxxxxxxxxxxxxxx> <41E01746.3080501@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
On Sat, Jan 08, 2005 at 12:24:22PM -0500, Jeff Garzik wrote:
> Herbert Xu wrote:
> >===== net/ipv6/route.c 1.102 vs edited =====
> >--- 1.102/net/ipv6/route.c   2004-11-30 14:24:46 +11:00
> >+++ edited/net/ipv6/route.c  2005-01-08 15:23:24 +11:00
> >@@ -379,6 +379,7 @@
> >     int err;
> > 
> >     write_lock_bh(&rt6_lock);
> >+    WARN_ON(rt->u.dst->obsolete);
> >     err = fib6_add(&ip6_routing_table, rt, nlh, _rtattr);
> >     write_unlock_bh(&rt6_lock);
> 
> still broken:
> 
> net/ipv6/route.c: In function `ip6_ins_rt':
> net/ipv6/route.c:382: error: invalid type argument of `->'

Sorry, I thought you meant that it didn't apply :)

Here is the corrected version.
-- 
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

Attachment: p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>