netfilter: synproxy: fix manual bump of the reference counter

This operation is handled by nf_synproxy_ipv4_init() now.

Fixes: d7f9b2f18e ("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>
This commit is contained in:
Fernando Fernandez Mancera 2019-06-20 20:01:59 +02:00 committed by Pablo Neira Ayuso
parent 2909946235
commit f76c7bfca4

View File

@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par)
return err;
}
snet->hook_ref4++;
return err;
}