Thread (10 messages) 10 messages, 2 authors, 2026-03-05

Re: [PATCH net 0/4] netfilter: updates for net

From: Florian Westphal <fw@strlen.de>
Date: 2026-03-05 12:20:46
Also in: netfilter-devel

Pablo Neira Ayuso [off-list ref] wrote:
quoted
Yes, it looks broken.  I wonder why we have no tests for this stuff.
First a vlan push function that cannot have worked, ever, now this
seemingly reversing-headers variant:
This used to work, I just accidentally broke it when using
skb_vlan_push() in net-next.

I will post fix.
Ok, thanks.
quoted
For PPPOE, its pushing the ppppe header to packet, so we get
strict ordering, later header coming in the stack gets placed on
top, before older one.

Here, first vlan push gets placed into hw tag in skb (which makes
sense, let HW take care of it).

But if 2nd comes along, then that gets placed in the packet
and the hwaccel tag remains?

What to do?  Should be nuke vlan offload support from flowtable?
It appears to be an unused feature.

I have low confidence in this code.
Could you elaborate more precisely?
Add bug in nf_queue -> kselftest will likely barf
Add bug in nf_tables control plane -> nftables shell and/or
python tests will likely barf
Add bug in conntrack -> kselftest will likely barf

Add new bug in flowtable vlan -> nada.

I think we should refuse both new features and refactoring patches going
forward unless they come with either update to existing kselftest, or a
new test or a test in nftables.git.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help