Skip to content

fix rule flush operation

Eric Leblond netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mnl: fix typo in commentsrc/mnl.c+1 -10 replies
2/4netlink: suppress useless variablesrc/netlink.c+0 -30 replies
3/4netlink: only flush asked table/chainsrc/netlink.c+8 -00 replies
4/4netlink: fix nft flush operationsrc/netlink.c+0 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [nftables PATCH 0/4] fix rule flush operation

Hello,

Here's a small patchset which fixes rule flushing. A command like:
nft flush table ip6 nat
was not flushing the rules at all. Patch 4 fixes the problem and patch 3 limit the scope of the flush which was not limited.

Patchset statistics:

 src/mnl.c     |  2 +-
 src/netlink.c | 13 ++++++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

BR,
--
Eric Leblond