netdev
[Top] [All Lists]

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

To: yoshfuji@xxxxxxxxxxxxxx
Subject: Re: [PATCH] IPV6: fix an oops in rt6_device_match()
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Sun, 12 Sep 2004 16:32:16 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040911.201029.21582458.yoshfuji@xxxxxxxxxxxxxx>
References: <20040911.201029.21582458.yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 11 Sep 2004 20:10:29 +0900 (JST)
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> wrote:

> This fixes panic in rt6_device_match().
> 
> 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.

Thank you.


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