fix list chain x y with anonymous chains
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | src: do not use the nft_cache_filter object from mnl.cinclude/ src/ src/ | +14 | 0 replies | |
| 2/4 | cache: do not set error code twicesrc/ | +7 | 0 replies | |
| 3/4 | cache: add helper function to fill up the rule cachesrc/ | +25 | 0 replies | |
| 4/4 | src: 'nft list chain' prints anonymous chains correctlyinclude/ include/ src/ +2 more | +68 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/4] fix list chain x y with anonymous chains
Hi,
Patches 1 to 3 are cache preparation work.
Then, patch 4 fixes listing
# nft list chain x y
table ip x {
chain y {
jump {
accept
}
}
}This is broken in the nftables 1.0.1 release.
See https://bugzilla.netfilter.org/show_bug.cgi?id=1577
Pablo Neira Ayuso (4):
src: do not use the nft_cache_filter object from mnl.c
cache: do not set error code twice
cache: add helper function to fill up the rule cache
src: 'nft list chain' prints anonymous chains correctly
include/cache.h | 3 + include/mnl.h | 2 +- include/netlink.h | 1 + src/cache.c | 113 ++++++++++++------ src/mnl.c | 12 +- src/netlink_delinearize.c | 8 ++ .../testcases/cache/0010_implicit_chain_0 | 19 +++ 7 files changed, 113 insertions(+), 45 deletions(-) create mode 100755 tests/shell/testcases/cache/0010_implicit_chain_0
Signature · 1 line
2.30.2