Review interface parsing and printing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xshared: Entirely ignore interface masks when saving rulesiptables/ iptables/ iptables/ +3 more | +12 | 0 replies | |
| 2/3 | xshared: Do not populate interface masks per defaultiptables/ iptables/ iptables/ +1 more | +48 | 0 replies | |
| 3/3 | nft: Leave interface masks alone when parsing from kerneliptables/ iptables/ iptables/ +3 more | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iptables PATCH 0/3] Review interface parsing and printing
Take advantage of the fact that interface name masks are needed only when submitting a legacy rule to the kernel. Drop all the code dealing with them and instead introduce a function to call from legacy variants if needed.
Phil Sutter (3):
xshared: Entirely ignore interface masks when saving rules
xshared: Do not populate interface masks per default
nft: Leave interface masks alone when parsing from kernel
iptables/ip6tables.c | 6 ++- iptables/iptables.c | 6 ++- iptables/nft-ipv4.c | 3 +- iptables/nft-ipv6.c | 3 +- iptables/nft-ruleparse-arp.c | 5 +- iptables/nft-ruleparse-bridge.c | 3 +- iptables/nft-ruleparse-ipv4.c | 5 +- iptables/nft-ruleparse-ipv6.c | 3 +- iptables/nft-ruleparse.c | 33 ++++--------- iptables/nft-ruleparse.h | 3 +- iptables/xshared.c | 83 ++++++++++++++++++--------------- iptables/xshared.h | 8 ++-- 12 files changed, 76 insertions(+), 85 deletions(-)
Signature · 1 line
2.41.0