[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111222075830.GR6348@secunet.com>
Date: Thu, 22 Dec 2011 08:58:30 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Chris Boot <bootc@...tc.net>, lkml <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: BUG: unable to handle kernel NULL pointer dereference in
ipv6_select_ident
On Thu, Dec 22, 2011 at 08:51:17AM +0100, Eric Dumazet wrote:
>
> Prior to 618f9bc74a0, we were calling
>
> static inline u32 dst_mtu(const struct dst_entry *dst)
> {
> u32 mtu = dst_metric_raw(dst, RTAX_MTU);
>
> if (!mtu)
> mtu = dst->ops->mtu(dst);
>
> return mtu;
> }
>
> with dst = fake_rtable
>
> and we did :
>
> dst_init_metrics(&rt->dst, br_dst_default_metrics, true);
>
> so dst_metric_raw(dst, RTAX_MTU) was returning 1500
>
> So bug is new, we dont need to backport this fix.
>
Ok, I see. Thanks for pointing it out!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists