Restore rule counter zeroing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nft: CMD_ZERO needs a rule cacheiptables/ iptables/ | +3 | 2 replies | |
| 2/2 | nft: Fix -Z for rules with NFTA_RULE_COMPATiptables/ | +39 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Florian Westphal | Pablo Neira Ayuso |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [iptables PATCH 0/2] Restore rule counter zeroing
Zeroing rule counters was broken in two ways: On one hand, cache optimizations went a little too far (actually I missed that rule cache is required for CMD_ZERO). On the other, rule replace logic was insufficient with regards to NFTA_RULE_COMPAT attribute (elaborate details in second patch).
Phil Sutter (2):
nft: CMD_ZERO needs a rule cache
nft: Fix -Z for rules with NFTA_RULE_COMPAT
iptables/nft.c | 41 ++++++++++++++++++++++++++++++++++++++ iptables/xtables-restore.c | 1 + 2 files changed, 42 insertions(+)
Signature · 1 line
2.24.0