netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/28] Netfilter updates for net-next
@ 2021-04-06 12:21 Pablo Neira Ayuso
  2021-04-06 12:21 ` [PATCH net-next 01/28] netfilter: nf_log_ipv4: rename to nf_log_syslog Pablo Neira Ayuso
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: Pablo Neira Ayuso @ 2021-04-06 12:21 UTC (permalink / raw)
  To: netfilter-devel; +Cc: davem, netdev, kuba

Hi,

The following batch contains Netfilter/IPVS updates for your net-next tree:

1) Simplify log infrastructure modularity: Merge ipv4, ipv6, bridge,
   netdev and ARP families to nf_log_syslog.c. Add module softdeps.
   This fixes a rare deadlock condition that might occur when log
   module autoload is required. From Florian Westphal.

2) Moves part of netfilter related pernet data from struct net to
   net_generic() infrastructure. All of these users can be modules,
   so if they are not loaded there is no need to waste space. Size
   reduction is 7 cachelines on x86_64, also from Florian.

2) Update nftables audit support to report events once per table,
   to get it aligned with iptables. From Richard Guy Briggs.

3) Check for stale routes from the flowtable garbage collector path.
   This is fixing IPv6 which breaks due missing check for the dst_cookie.

4) Add a nfnl_fill_hdr() function to simplify netlink + nfnetlink
   headers setup.

5) Remove documentation on several statified functions.

6) Remove printk on netns creation for the FTP IPVS tracker,
   from Florian Westphal.

7) Remove unnecessary nf_tables_destroy_list_lock spinlock
   initialization, from Yang Yingliang.

7) Remove a duplicated forward declaration in ipset,
   from Wan Jiabing.

Please, pull these changes from:

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

Thanks!

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

The following changes since commit cda1893e9f7c1d78e391dbb6ef1798cd32354113:

  net: mhi: remove pointless conditional before kfree_skb() (2021-03-30 13:47:28 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git HEAD

for you to fetch changes up to db3685b4046f8b629bbf73caa33751ce567ea8ff:

  net: remove obsolete members from struct net (2021-04-06 00:34:53 +0200)

----------------------------------------------------------------
Dan Carpenter (1):
      netfilter: nftables: fix a warning message in nf_tables_commit_audit_collect()

Florian Westphal (20):
      netfilter: nf_log_ipv4: rename to nf_log_syslog
      netfilter: nf_log_arp: merge with nf_log_syslog
      netfilter: nf_log_ipv6: merge with nf_log_syslog
      netfilter: nf_log_netdev: merge with nf_log_syslog
      netfilter: nf_log_bridge: merge with nf_log_syslog
      netfilter: nf_log_common: merge with nf_log_syslog
      netfilter: nf_log: add module softdeps
      netfilter: nft_log: perform module load from nf_tables
      netfilter: ipvs: do not printk on netns creation
      netfilter: nfnetlink: add and use nfnetlink_broadcast
      netfilter: nfnetlink: use net_generic infra
      netfilter: cttimeout: use net_generic infra
      netfilter: nf_defrag_ipv6: use net_generic infra
      netfilter: nf_defrag_ipv4: use net_generic infra
      netfilter: ebtables: use net_generic infra
      netfilter: nf_tables: use net_generic infra for transaction data
      netfilter: x_tables: move known table lists to net_generic infra
      netfilter: conntrack: move sysctl pointer to net_generic infra
      netfilter: conntrack: move ecache dwork to net_generic infra
      net: remove obsolete members from struct net

Pablo Neira Ayuso (4):
      netfilter: flowtable: dst_check() from garbage collector path
      netfilter: nftables: add helper function to set the base sequence number
      netfilter: add helper function to set up the nfnetlink header and use it
      netfilter: nftables: remove documentation on static functions

Richard Guy Briggs (1):
      audit: log nftables configuration change events once per table

Wan Jiabing (1):
      netfilter: ipset: Remove duplicate declaration

Yang Yingliang (1):
      netfilter: nftables: remove unnecessary spin_lock_init()

 include/linux/netfilter/ipset/ip_set.h      |    2 -
 include/linux/netfilter/nfnetlink.h         |   29 +
 include/net/net_namespace.h                 |    9 -
 include/net/netfilter/ipv6/nf_defrag_ipv6.h |    6 +
 include/net/netfilter/nf_conntrack.h        |    7 +
 include/net/netfilter/nf_conntrack_ecache.h |   33 +-
 include/net/netfilter/nf_flow_table.h       |    5 +-
 include/net/netfilter/nf_log.h              |   25 -
 include/net/netfilter/nf_tables.h           |   16 +
 include/net/netns/conntrack.h               |    4 -
 include/net/netns/netfilter.h               |    6 -
 include/net/netns/nftables.h                |    7 -
 include/net/netns/x_tables.h                |    1 -
 net/bridge/netfilter/Kconfig                |    4 -
 net/bridge/netfilter/Makefile               |    3 -
 net/bridge/netfilter/ebtables.c             |   39 +-
 net/bridge/netfilter/nf_log_bridge.c        |   79 --
 net/ipv4/netfilter/Kconfig                  |   10 +-
 net/ipv4/netfilter/Makefile                 |    4 -
 net/ipv4/netfilter/nf_defrag_ipv4.c         |   20 +-
 net/ipv4/netfilter/nf_log_arp.c             |  172 -----
 net/ipv4/netfilter/nf_log_ipv4.c            |  395 ----------
 net/ipv6/netfilter/Kconfig                  |    5 +-
 net/ipv6/netfilter/Makefile                 |    3 -
 net/ipv6/netfilter/nf_conntrack_reasm.c     |   68 +-
 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c   |   15 +-
 net/ipv6/netfilter/nf_log_ipv6.c            |  427 -----------
 net/netfilter/Kconfig                       |   20 +-
 net/netfilter/Makefile                      |    6 +-
 net/netfilter/ipset/ip_set_core.c           |   17 +-
 net/netfilter/ipvs/ip_vs_ftp.c              |    2 -
 net/netfilter/nf_conntrack_core.c           |    7 +-
 net/netfilter/nf_conntrack_ecache.c         |   31 +-
 net/netfilter/nf_conntrack_netlink.c        |   77 +-
 net/netfilter/nf_conntrack_standalone.c     |   10 +-
 net/netfilter/nf_flow_table_core.c          |   37 +-
 net/netfilter/nf_flow_table_ip.c            |   22 +-
 net/netfilter/nf_log.c                      |   10 -
 net/netfilter/nf_log_common.c               |  224 ------
 net/netfilter/nf_log_netdev.c               |   78 --
 net/netfilter/nf_log_syslog.c               | 1089 +++++++++++++++++++++++++++
 net/netfilter/nf_tables_api.c               |  632 ++++++++--------
 net/netfilter/nf_tables_offload.c           |   30 +-
 net/netfilter/nf_tables_trace.c             |    9 +-
 net/netfilter/nfnetlink.c                   |   67 +-
 net/netfilter/nfnetlink_acct.c              |   14 +-
 net/netfilter/nfnetlink_cthelper.c          |   11 +-
 net/netfilter/nfnetlink_cttimeout.c         |   63 +-
 net/netfilter/nfnetlink_log.c               |   11 +-
 net/netfilter/nfnetlink_queue.c             |   12 +-
 net/netfilter/nft_chain_filter.c            |   11 +-
 net/netfilter/nft_compat.c                  |   11 +-
 net/netfilter/nft_dynset.c                  |    6 +-
 net/netfilter/nft_log.c                     |   20 +-
 net/netfilter/x_tables.c                    |   46 +-
 net/netfilter/xt_LOG.c                      |    1 +
 net/netfilter/xt_NFLOG.c                    |    1 +
 net/netfilter/xt_TRACE.c                    |    1 +
 58 files changed, 1910 insertions(+), 2060 deletions(-)
 delete mode 100644 net/bridge/netfilter/nf_log_bridge.c
 delete mode 100644 net/ipv4/netfilter/nf_log_arp.c
 delete mode 100644 net/ipv4/netfilter/nf_log_ipv4.c
 delete mode 100644 net/ipv6/netfilter/nf_log_ipv6.c
 delete mode 100644 net/netfilter/nf_log_common.c
 delete mode 100644 net/netfilter/nf_log_netdev.c
 create mode 100644 net/netfilter/nf_log_syslog.c

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2021-04-06 12:22 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06 12:21 [PATCH net-next 00/28] Netfilter updates for net-next Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 01/28] netfilter: nf_log_ipv4: rename to nf_log_syslog Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 02/28] netfilter: nf_log_arp: merge with nf_log_syslog Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 03/28] netfilter: nf_log_ipv6: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 04/28] netfilter: nf_log_netdev: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 05/28] netfilter: nf_log_bridge: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 06/28] netfilter: nf_log_common: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 07/28] netfilter: nf_log: add module softdeps Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 08/28] netfilter: nft_log: perform module load from nf_tables Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 09/28] audit: log nftables configuration change events once per table Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 10/28] netfilter: ipset: Remove duplicate declaration Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 11/28] netfilter: flowtable: dst_check() from garbage collector path Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 12/28] netfilter: nftables: remove unnecessary spin_lock_init() Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 13/28] netfilter: nftables: add helper function to set the base sequence number Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 14/28] netfilter: add helper function to set up the nfnetlink header and use it Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 15/28] netfilter: ipvs: do not printk on netns creation Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 16/28] netfilter: nftables: fix a warning message in nf_tables_commit_audit_collect() Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 17/28] netfilter: nftables: remove documentation on static functions Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 18/28] netfilter: nfnetlink: add and use nfnetlink_broadcast Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 19/28] netfilter: nfnetlink: use net_generic infra Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 20/28] netfilter: cttimeout: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 21/28] netfilter: nf_defrag_ipv6: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 22/28] netfilter: nf_defrag_ipv4: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 23/28] netfilter: ebtables: " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 24/28] netfilter: nf_tables: use net_generic infra for transaction data Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 25/28] netfilter: x_tables: move known table lists to net_generic infra Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 26/28] netfilter: conntrack: move sysctl pointer " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 27/28] netfilter: conntrack: move ecache dwork " Pablo Neira Ayuso
2021-04-06 12:21 ` [PATCH net-next 28/28] net: remove obsolete members from struct net Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).