Skip to content

iptables: eliminate read/write lock (v0.4)

Stephen Hemminger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6netfilter: change elements in x_tablesinclude/linux/netfilter/x_tables.h+4 -50 replies
2/6netfilter: remove unneeded initializationsnet/ipv4/netfilter/arptable_filter.c net/ipv4/netfilter/iptable_filter.c net/ipv4/netfilter/iptable_mangle.c +7 more+0 -110 replies
3/6ebtables: remove unneeded initializationsnet/bridge/netfilter/ebtable_broute.c net/bridge/netfilter/ebtable_filter.c net/bridge/netfilter/ebtable_nat.c+0 -30 replies
4/6netfilter: abstract xt_countersinclude/linux/netfilter/x_tables.h net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c +2 more+41 -1913 replies
5/6netfilter: use sequence number synchronization for countersnet/netfilter/x_tables.c+20 -20 replies
6/6netfilter: convert x_tables to use RCUinclude/linux/netfilter/x_tables.h net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c +2 more+70 -441 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] iptables: eliminate read/write lock (v0.4)

More of Eric's suggestions, handle the case of aggregation of counters correctly. Unfortunately, can't easily make xt_add_counter inline because DEFINE_PER_CPU doesn't seem to export to modules correctly.