From: Eric Dumazet Date: Tue, 4 Sep 2012 07:49:03 +0000 (+0000) Subject: netfilter: take care of timewait sockets X-Git-Tag: v3.6-rc6~18^2~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0626af3139572610b56376580d11eb65d45d9dd7;p=pandora-kernel.git netfilter: take care of timewait sockets Sami Farin reported crashes in xt_LOG because it assumes skb->sk is a full blown socket. Since (41063e9 ipv4: Early TCP socket demux), we can have skb->sk pointing to a timewait socket. Same fix is needed in nfnetlink_log. Diagnosed-by: Florian Westphal Reported-by: Sami Farin Signed-off-by: Eric Dumazet Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed