[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1359771917.30177.52.camel@edumazet-glaptop>
Date: Fri, 01 Feb 2013 18:25:17 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Steve Muckle <smuckle@...eaurora.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Subject: Re: invalid socket structure with ip_early_demux
On Fri, 2013-02-01 at 18:16 -0800, Eric Dumazet wrote:
> skb->sk might be a TIMEWAIT socket.
>
> Therefore, you cant blindly use skb->sk->sk_socket
>
A fix would be to add after :
sk = skb->sk;
the following code :
if (sk && sk->sk_state == TCP_TIME_WAIT)
sk = NULL;
--
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