netfilter: synproxy: fix manual bump of the reference counter
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Thu, 20 Jun 2019 18:01:59 +0000 (20:01 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Jun 2019 15:30:23 +0000 (17:30 +0200)
This operation is handled by nf_synproxy_ipv4_init() now.

Fixes: d7f9b2f18eae ("netfilter: synproxy: extract SYNPROXY infrastructure from {ipt, ip6t}_SYNPROXY")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_SYNPROXY.c

index 7f7979734fb449475940cae15d1a8dd745508501..0c80616c00b51ebdf117af29430d3eaa64b3dbfb 100644 (file)
@@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par)
                return err;
        }
 
-       snet->hook_ref4++;
        return err;
 }