diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-11 19:22:19 -0700 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-07-15 11:15:21 +0200 |
commit | baf60efa585c78b269f0097288868a51ccc61f55 (patch) | |
tree | 8d9202c8b44038254c87f7f03f887073bc976a7c /lib/net_utils.c | |
parent | f09eca8db0184aeb6b9718a987cfb3653ad7c4ae (diff) |
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 <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions