Skip to content

Commit 8b2030b

Browse files
lsenecauxummakynes
authored andcommitted
netfilter: conntrack: Fix gre tunneling over ipv6
This fix permits gre connections to be tracked within ip6tables rules Signed-off-by: Ludovic Senecaux <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent b58f33d commit 8b2030b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

net/netfilter/nf_conntrack_proto_gre.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ int nf_conntrack_gre_packet(struct nf_conn *ct,
218218
enum ip_conntrack_info ctinfo,
219219
const struct nf_hook_state *state)
220220
{
221-
if (state->pf != NFPROTO_IPV4)
222-
return -NF_ACCEPT;
223-
224221
if (!nf_ct_is_confirmed(ct)) {
225222
unsigned int *timeouts = nf_ct_timeout_lookup(ct);
226223

0 commit comments

Comments
 (0)