Skip to content

fix a delinearization issue

Eric Leblond 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/3regression: fix typo in READMEtests/regression/README+1 -10 replies
2/3regression: add test on counter related issuetests/regression/ip/ip.t+2 -00 replies
3/3netlink_delinearize: fix postprocessingsrc/netlink_delinearize.c+9 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [nft PATCH 0/3] fix a delinearization issue

Hello,

This small patchset is fixing a ntables delinearization issue when using counter. The rule triggering this is not straightforward as it relays on statement order:
ip protocol tcp counter packets tcp dport ssh accept
But it is possible some users are using this kind of rules so it should be linearized and delinearized correctly.

With current code it was converted when reading rules from kernel to:
counter packets tcp dport ssh accept

BR,
--
Eric