Skip to content

Commit

Permalink
netfilter: conntrack: Fix gre tunneling over ipv6
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
lsenecaux authored and ummakynes committed Mar 17, 2021
1 parent b58f33d commit 8b2030b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/netfilter/nf_conntrack_proto_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8b2030b

Please sign in to comment.