netdev
[Top] [All Lists]

Re: [BUG 2.6.12-rc4] IPv6 xfrm tunnel oops with large packets

To: herbert@xxxxxxxxxxxxxxxxxxx
Subject: Re: [BUG 2.6.12-rc4] IPv6 xfrm tunnel oops with large packets
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Sun, 22 May 2005 05:18:17 +0900 (JST)
Cc: christophe@xxxxxxxx, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <20050521194932.GA10959@xxxxxxxxxxxxxxxxxxx>
Organization: USAGI Project
References: <1116702611.14509.10.camel@xxxxxxxxxxxxxxxxxx> <20050521194932.GA10959@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20050521194932.GA10959@xxxxxxxxxxxxxxxxxxx> (at Sun, 22 May 2005 
05:49:32 +1000), Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> says:

> On Sat, May 21, 2005 at 07:10:11PM +0000, Christophe Saout wrote:
> > 
> > The oops occurs in line 391 in net/ipv6/icmp.c:
> > 
> > >        idev = in6_dev_get(skb->dev);
> 
> Here is a minimal fix.
> 
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>


Acked-by: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>

> BTW, icmpv6_send seems to ignore its dev argument altogether.
> Any reason why we can't just use it instead of skb->dev?

(After looking into icmpv6_send() usages,)
I don't know the reason why we needed the last argument "dev".
It seems that we already had it at the time of 2.2.16.
Probably, we can remove it.

--yoshfuji

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