Re: [BUG] A panic caused by null pointer dereference aftering updating to
From: David Miller
Date: Mon Apr 14 2014 - 14:03:09 EST
From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/