All of lore.kernel.org
 help / color / mirror / Atom feed
* Backport request: "netfilter: nf_conntrack_expect: restore helper propagation via expectation"
@ 2026-07-29 21:38 Ilya Maximets
  2026-07-29 23:07 ` Pablo Neira Ayuso
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ilya Maximets @ 2026-07-29 21:38 UTC (permalink / raw)
  To: stable; +Cc: i.maximets, Pablo Neira Ayuso, netfilter-devel

Hi.  The mentioned commit dcb0f9aefdd604d36710fda53c25bd7cf4a3e37a
was backported to 7.0, but not further, while two commits it is fixing
were backported down to 6.1.

Admittedly, the patch is not very important as far as functionality
goes (at least for FTP), but the issue does change the user visible
behavior and that makes all the FTP system tests in openvswitch
project (in userspace) to fail.  This makes it harder to validate OVS
on kernels below 7.0 and makes it unnecessarily harder to validate
changes for the openvswitch kernel module on stable kernels.

So, it would be really nice to have the fix backported to the same
branches where the commits it fixes were (6.1).

AFAICT, cherry-pick works without conflicts down to 6.6.  For 6.1
there is a minor conflict, 6.1.y has the extra debug message:

diff --cc net/netfilter/nf_conntrack_core.c
index f5c466ea1e7d,8ba5b22a1eef..000000000000
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@@ -1800,8 -1811,8 +1800,10 @@@ init_conntrack(struct net *net, struct 
  		spin_lock_bh(&nf_conntrack_expect_lock);
  		exp = nf_ct_find_expectation(net, zone, tuple, !tmpl || nf_ct_is_confirmed(tmpl));
  		if (exp) {
+ 			struct nf_conntrack_helper *assign_helper;
+ 
 +			pr_debug("expectation arrives ct=%p exp=%p\n",
 +				 ct, exp);
  			/* Welcome, Mr. Bond.  We've been expecting you... */
  			__set_bit(IPS_EXPECTED_BIT, &ct->status);
  			/* exp->master safe, refcnt bumped in nf_ct_find_expectation */
---

WDYT?

Best regards, Ilya Maximets.

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

end of thread, other threads:[~2026-07-30 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 21:38 Backport request: "netfilter: nf_conntrack_expect: restore helper propagation via expectation" Ilya Maximets
2026-07-29 23:07 ` Pablo Neira Ayuso
2026-07-30 14:09   ` Greg KH
2026-07-30 16:26     ` Ilya Maximets
2026-07-30 19:35 ` [PATCH 6.18.y] netfilter: nf_conntrack_expect: restore helper propagation via expectation Ilya Maximets
2026-07-30 19:38 ` [PATCH 6.1.y] " Ilya Maximets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.