These two fixes failed to apply to 6.18.y. 7.3.y has both. Patch 1 is a clean pick and the prerequisite for patch 2. It moves ip6_fl_lock out of fl_intern() so mem_check() runs under the same lock. Patch 2 keeps 6.18.y's ipmr_seq declaration in netns_ipv6 next to the new flowlabel_count; the code changes match upstream. Tested on v6.18.66: - x86_64 allmodconfig W=1 builds of net/ipv6/ip6_flowlabel.o and net/ipv6/ip6mr.o, base vs patched, no new warnings - base and patched kernels under QEMU/KVM: the six cases in tools/testing/selftests/net/ipv6_flowlabel.sh pass on both, including the ping-socket cases. The new per-netns limit and concurrent allocation were checked in the source, not exercised. The backport and the test runs were prepared with AI coding tools (OpenAI Codex agents, with review by Claude). I went over the result before signing off. --- Maoyi Xie (2): ipv6: flowlabel: take ip6_fl_lock across mem_check and fl_intern ipv6: flowlabel: enforce per-netns limit for unprivileged callers include/net/netns/ipv6.h | 1 + net/ipv6/ip6_flowlabel.c | 46 +++++++++++++++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 15 deletions(-) --- base-commit: 2c7bb1d0212c23234a9f85123eb7a36eecc76776 change-id: 20261205-flowlabel-618b-0712d46851d2 Best regards, -- Dickson Wu <dick…@certik.com>