netfilter: xt_socket: fix a typo in socket_mt_destroy()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Feb 2022 02:30:43 +0000 (18:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2022 10:47:51 +0000 (11:47 +0100)
commitcb2313b216be6115fc8b4290f90e8c9c8c7f51c0
treec10dbe360c5a80df84614a000c16c848a2dfb054
parent49909c9f8458cacb5b241106cba65aba5a6d8f4c
netfilter: xt_socket: fix a typo in socket_mt_destroy()

commit 75063c9294fb239bbe64eb72141b6871fe526d29 upstream.

Calling nf_defrag_ipv4_disable() instead of nf_defrag_ipv6_disable()
was probably not the intent.

I found this by code inspection, while chasing a possible issue in TPROXY.

Fixes: de8c12110a13 ("netfilter: disable defrag once its no longer needed")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/xt_socket.c