[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1463024588.23934.158.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 11 May 2016 20:43:08 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Alexander Duyck <aduyck@...antis.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
alexander.duyck@...il.com, tom@...bertland.com
Subject: Re: [net-next PATCH] udp: Resolve NULL pointer dereference
On Wed, 2016-05-11 at 19:24 -0700, Alexander Duyck wrote:
> While testing an OpenStack configuration using VXLANs I saw the following
> call trace:
>
> I believe the trace is pointing to the call to dev_net(dev) in
> udp4_lib_lookup_skb. If I am not mistaken I believe it is possible for us
> to have skb_dst(skb)->dev be NULL. So to resolve that I am adding a check
> for this case and skipping the assignment if such an event occurs.
skb_dst(skb)->dev can be NULL ???
Why only UDP ipv4 would need a fix, and not ipv6 ?
Looks the bug is somewhere else maybe ?
Powered by blists - more mailing lists