netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6
@ 2021-03-04  9:10 Ludovic Senecaux
  2021-03-04  9:31 ` Florian Westphal
  2021-03-17 23:39 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Senecaux @ 2021-03-04  9:10 UTC (permalink / raw)
  To: pablo, kadlec, fw; +Cc: netfilter-devel, coreteam

This fix permits gre connections to be tracked within ip6tables rules

Signed-off-by: Ludovic Senecaux <linuxludo@free.fr>
---
 net/netfilter/nf_conntrack_proto_gre.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/netfilter/nf_conntrack_proto_gre.c b/net/netfilter/nf_conntrack_proto_gre.c
index 5b05487a60d2..db11e403d818 100644
--- a/net/netfilter/nf_conntrack_proto_gre.c
+++ b/net/netfilter/nf_conntrack_proto_gre.c
@@ -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);
 
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6
  2021-03-04  9:10 [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6 Ludovic Senecaux
@ 2021-03-04  9:31 ` Florian Westphal
  2021-03-17 23:39 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Westphal @ 2021-03-04  9:31 UTC (permalink / raw)
  To: Ludovic Senecaux; +Cc: pablo, kadlec, fw, netfilter-devel, coreteam

Ludovic Senecaux <linuxludo@free.fr> wrote:
> This fix permits gre connections to be tracked within ip6tables rules

Acked-by: Florian Westphal <fw@strlen.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6
  2021-03-04  9:10 [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6 Ludovic Senecaux
  2021-03-04  9:31 ` Florian Westphal
@ 2021-03-17 23:39 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2021-03-17 23:39 UTC (permalink / raw)
  To: Ludovic Senecaux; +Cc: kadlec, fw, netfilter-devel, coreteam

On Thu, Mar 04, 2021 at 04:10:50AM -0500, Ludovic Senecaux wrote:
> This fix permits gre connections to be tracked within ip6tables rules

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-17 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04  9:10 [PATCH][nft,v2] conntrack: Fix gre tunneling over ipv6 Ludovic Senecaux
2021-03-04  9:31 ` Florian Westphal
2021-03-17 23:39 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).