Some more code de-duplication
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 1 replyIn review
- v26 patches 2 repliesSuperseded
- v16 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | xshared: Share print_match_save() between legacy ip*tablesiptables/ iptables/ iptables/ +1 more | +32 | 0 replies | |
| 2/6 | xshared: Share a common printhelp functioniptables/ iptables/ iptables/ +2 more | +108 | 0 replies | |
| 3/6 | xshared: Share exit_tryhelp()iptables/ iptables/ iptables/ +2 more | +24 | 0 replies | |
| 4/6 | xtables_globals: Embed variant name in .program_versioniptables/ iptables/ iptables/ +6 more | +16 | 0 replies | |
| 5/6 | libxtables: Extend basic_exit_err()iptables/ iptables/ iptables/ +3 more | +12 | 0 replies | |
| 6/6 | iptables-*-restore: Drop pointless line referenceiptables/ iptables/ iptables/ +1 more | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [iptables PATCH v3 0/6] Some more code de-duplication
No change in patches 1 to 3 and 6.
Patch 4 is new: Extend program_version field with variant string instead of introducing a separate field. This made patch 5 a bit smaller, due to less differences between basic_exit_err() and xtables_exit_error().
Phil Sutter (6):
xshared: Share print_match_save() between legacy ip*tables
xshared: Share a common printhelp function
xshared: Share exit_tryhelp()
xtables_globals: Embed variant name in .program_version
libxtables: Extend basic_exit_err() iptables-*-restore: Drop pointless line reference
iptables/ip6tables.c | 157 ++---------------------------------- iptables/iptables-restore.c | 2 +- iptables/iptables-save.c | 2 +- iptables/iptables.c | 157 ++---------------------------------- iptables/xshared.c | 143 ++++++++++++++++++++++++++++++++ iptables/xshared.h | 5 ++ iptables/xtables-arp.c | 4 +- iptables/xtables-eb.c | 10 +-- iptables/xtables-restore.c | 2 +- iptables/xtables-save.c | 2 +- iptables/xtables.c | 135 +++---------------------------- libxtables/xtables.c | 12 +++ 12 files changed, 194 insertions(+), 437 deletions(-)
Signature · 1 line
2.33.0