Skip to contentSkip to conversation

netfilter: synproxy: fix manual bump of the reference counter

PATCH Applied Fernando Fernandez Mancera 2 participants 2 messages Jun 20, 2019 – Jun 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 net/ipv4/netfilter/ipt_SYNPROXY.c | 1 -
 1 file changed, 1 deletion(-)
net/ipv4/netfilter/ipt_SYNPROXY.c +0 -1
index 7f7979734fb4..0c80616c00b5 100644
@@ -82,7 +82,6 @@ static int synproxy_tg4_check(const struct xt_tgchk_param *par)
 		return err;
 	}
 
-	snet->hook_ref4++;
 	return err;
 }
 
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 1 line · Fernando Fernandez Mancera

This operation is handled by nf_synproxy_ipv4_init() now.

Applied, thanks.