netdev
[Top] [All Lists]

Re: [PATCH] IPV6: fix an oops in rt6_device_match()

To: davem@xxxxxxxxxxxxx
Subject: Re: [PATCH] IPV6: fix an oops in rt6_device_match()
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Mon, 13 Sep 2004 09:49:50 +0900 (JST)
Cc: netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20040912163216.7f49673a.davem@davemloft.net>
Organization: USAGI Project
References: <20040911.201029.21582458.yoshfuji@linux-ipv6.org> <20040912163216.7f49673a.davem@davemloft.net>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20040912163216.7f49673a.davem@xxxxxxxxxxxxx> (at Sun, 12 Sep 2004 
16:32:16 -0700), "David S. Miller" <davem@xxxxxxxxxxxxx> says:

> > Well, rt->rt6i_idev is always set if it is dynamically allocated.
> > However, when we hit ip6_null_entry here, its rt6i_idev is NULL.
> > This patch is minimum fix to avoid the oops for now.
> > 
> > Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>
> 
> Ok, as long as we fix this more cleanly eventually.

Thanks.
I'll revisit when we introduce more users (per-interface stats.).

--yoshfuji

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