[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140414.140253.788885546068554928.davem@davemloft.net>
Date: Mon, 14 Apr 2014 14:02:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: nasa4836@...il.com, jchapman@...alix.com, edumazet@...gle.com,
joe@...ches.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [BUG] A panic caused by null pointer dereference aftering
updating to
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 14 Apr 2014 10:54:42 -0700
> On Mon, 2014-04-14 at 13:49 -0400, David Miller wrote:
>
>> Yep that would handle the l2tp cases, but vxlan needs something different
>> since it goes through iptunnel_xmit().
>>
>> So perhaps as a quick fix we can add an 'sk' arg to both
>> ip_queue_xmit() and ip_local_out().
>
> Right, I am working on this right now.
Thanks a lot Eric.
BTW, it occurs to me that there may be some other spots in the output path
that expect that if SKB is ETH_P_IP then skb->sk is IP socket. For example
somewhere in netfilter or packet classifier paths.
Just FYI... that was one of the things I was going to audit.
--
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