Skip to content

Commit

Permalink
netfilter: synproxy: fix manual bump of the reference counter
Browse files Browse the repository at this point in the history
This operation is handled by nf_synproxy_ipv4_init() now.

Fixes: d7f9b2f ("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>
  • Loading branch information
Fernando Fernandez Mancera authored and Pablo Neira Ayuso committed Jun 21, 2019
1 parent 2909946 commit f76c7bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv4/netfilter/ipt_SYNPROXY.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par)
return err;
}

snet->hook_ref4++;
return err;
}

Expand Down

0 comments on commit f76c7bf

Please sign in to comment.