[PATCH nf-next 0/5] nf_tables misc updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patchset contains misc updates for nf_tables:

1) Remove unnecessary rcu read-size lock when updating chain counters.
   from the nft_do_chain() path.

2) Replace BUG_ON by WARN_ON_ONCE in nft_payload on buggy payload base.

3) Consolidate verdict tracing in nft_do_chain().

4) Replace WARN_ON() by WARN_ON_ONCE() in nft_do_chain() for unknown
   verdicts.

5) Make counters a built-in expression (IIRC, already suggested by Florian).

Pablo Neira Ayuso (5):
  netfilter: nf_tables: remove rcu read-size lock
  netfilter: nft_payload: WARN_ON_ONCE instead of BUG
  netfilter: nf_tables: consolidate rule verdict trace call
  netfilter: nf_tables: replace WARN_ON by WARN_ON_ONCE for unknown verdicts
  netfilter: nf_tables: make counter support built-in

 include/net/netfilter/nf_tables_core.h |  4 ++
 net/netfilter/Kconfig                  |  6 ---
 net/netfilter/Makefile                 |  3 +-
 net/netfilter/nf_tables_core.c         | 46 +++++++++++++++-----
 net/netfilter/nft_counter.c            | 59 +++++++-------------------
 net/netfilter/nft_payload.c            |  6 ++-
 6 files changed, 61 insertions(+), 63 deletions(-)

-- 
2.30.2




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux