From: Eric Dumazet Date: Fri, 12 Jul 2013 02:22:19 +0000 (-0700) Subject: netfilter: xt_socket: fix broken v0 support X-Git-Tag: v3.11-rc4~22^2~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf60efa585c78b269f0097288868a51ccc61f55;p=pandora-kernel.git netfilter: xt_socket: fix broken v0 support commit 681f130f39e10 ("netfilter: xt_socket: add XT_SOCKET_NOWILDCARD flag") added a potential NULL dereference if an old iptables package uses v0 of the match. Fix this by removing the test on @info in fast path. IPv6 can remove the test as well, as it uses v1 or v2. Reported-by: Neal Cardwell Signed-off-by: Eric Dumazet Cc: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed