mirror of https://gitee.com/openkylin/linux.git
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:
parent
2909946235
commit
f76c7bfca4
|
@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par)
|
|||
return err;
|
||||
}
|
||||
|
||||
snet->hook_ref4++;
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue