diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2019-06-20 21:01:59 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-06-21 18:30:23 +0300 |
commit | f76c7bfca4326140d86ab86168214ef447177bc0 (patch) | |
tree | 440f33788a7ece747f7b6cf5dcaa5f5c2d721344 /net/ipv4/netfilter | |
parent | 29099462354fdfa601f8d08dd5664bdfa4f1eaec (diff) | |
download | linux-f76c7bfca4326140d86ab86168214ef447177bc0.tar.xz |
netfilter: synproxy: fix manual bump of the reference counter
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>
Diffstat (limited to 'net/ipv4/netfilter')
-rw-r--r-- | net/ipv4/netfilter/ipt_SYNPROXY.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_SYNPROXY.c b/net/ipv4/netfilter/ipt_SYNPROXY.c index 7f7979734fb4..0c80616c00b5 100644 --- a/net/ipv4/netfilter/ipt_SYNPROXY.c +++ b/net/ipv4/netfilter/ipt_SYNPROXY.c @@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par) return err; } - snet->hook_ref4++; return err; } |