Skip to content

vlan followup fixes

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3doc: mention vlan matching in ip/ip6/inet familiesdoc/payload-expression.txt+8 -00 replies
2/3evaluate: add ethernet header size offset for implicit vlan dependencysrc/evaluate.c+19 -10 replies
3/3tests: py: add vlan test case for ip/inet familytests/py/inet/ether.t tests/py/inet/ether.t.json tests/py/inet/ether.t.payload +2 more+94 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/3] vlan followup fixes

vlan header matching in ip/ip6/inet families may not work, because default behaviour is to remove the vlan header/tag information.

Update documentation to mention this.
Furthermore, dependency generation was broken so that even if the vlan striping is disabled matching did not work, as the offset was not computed correctly.

Add test cases for this too.

Florian Westphal (3):
doc: mention vlan matching in ip/ip6/inet families
evaluate: add ethernet header size offset for implicit vlan dependency
tests: py: add vlan test case for ip/inet family

 doc/payload-expression.txt           |  8 +++++++
 src/evaluate.c                       | 20 ++++++++++++++++-
 tests/py/inet/ether.t                |  6 ++++++
 tests/py/inet/ether.t.json           | 32 ++++++++++++++++++++++++++++
 tests/py/inet/ether.t.payload        | 20 +++++++++++++++++
 tests/py/inet/ether.t.payload.bridge | 16 ++++++++++++++
 tests/py/inet/ether.t.payload.ip     | 20 +++++++++++++++++
 7 files changed, 121 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1