Skip to contentSkip to conversation

conntrack: Fix gre tunneling over ipv6

PATCH Applied Ludovic Senecaux 3 participants 3 messages Mar 4, 2021 – Mar 17, 2021

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

PATCH v2 1/1 conntrack: Fix gre tunneling over ipv6

This fix permits gre connections to be tracked within ip6tables rules

---
 net/netfilter/nf_conntrack_proto_gre.c | 3 ---
 1 file changed, 3 deletions(-)
net/netfilter/nf_conntrack_proto_gre.c +0 -3
index 5b05487a60d2..db11e403d818 100644
@@ -218,9 +218,6 @@ int nf_conntrack_gre_packet(struct nf_conn *ct,
 			    enum ip_conntrack_info ctinfo,
 			    const struct nf_hook_state *state)
 {
-	if (state->pf != NFPROTO_IPV4)
-		return -NF_ACCEPT;
-
 	if (!nf_ct_is_confirmed(ct)) {
 		unsigned int *timeouts = nf_ct_timeout_lookup(ct);
 
Signature · 1 line
2.27.0