Skip to content

Netfilter/nf_tables fixes

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4netfilter: nf_tables: skip transaction if no update flags in tablesnet/netfilter/nf_tables_api.c+3 -00 replies
2/4netfilter: nf_tables: safe RCU iteration on list when dumpingnet/netfilter/nf_tables_api.c+53 -410 replies
3/4netfilter: nf_tables: set NLM_F_DUMP_INTR if netlink dumping is staleinclude/net/netns/nftables.h net/netfilter/nf_tables_api.c+24 -80 replies
4/4netfilter: nf_tables: 64bit stats need some extra synchronizationinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nf_tables_core.c+21 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Netfilter/nf_tables fixes

Hi David,

The following patchset contains nf_tables fixes, they are:

1) Fix wrong transaction handling when the table flags are not modified.

2) Fix missing rcu read_lock section in the netlink dump path, which is not protected by the nfnl_lock.

3) Set NLM_F_DUMP_INTR in the netlink dump path to indicate interferences with updates.

4) Fix 64 bits chain counters when they are retrieved from a 32 bits arch, from Eric Dumazet.

You can pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git

Thanks!

----------------------------------------------------------------

The following changes since commit e940f5d6ba6a01f8dbb870854d5205d322452730:

ipv6: Fix MLD Query message check (2014-06-27 00:21:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git master

for you to fetch changes up to ce355e209feb030945dae4c358c02f29a84f3f8b:

netfilter: nf_tables: 64bit stats need some extra synchronization (2014-07-14 12:00:17 +0200)

----------------------------------------------------------------
Eric Dumazet (1):
netfilter: nf_tables: 64bit stats need some extra synchronization

Pablo Neira Ayuso (3):
netfilter: nf_tables: skip transaction if no update flags in tables
netfilter: nf_tables: safe RCU iteration on list when dumping
netfilter: nf_tables: set NLM_F_DUMP_INTR if netlink dumping is stale

 include/net/netfilter/nf_tables.h |    6 +-
 include/net/netns/nftables.h      |    2 +-
 net/netfilter/nf_tables_api.c     |  140 +++++++++++++++++++++++--------------
 net/netfilter/nf_tables_core.c    |   10 +--
 4 files changed, 100 insertions(+), 58 deletions(-)