Netfilter updates for net-next
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest28 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | netfilter: nf_log_ipv4: rename to nf_log_syslognet/ net/ net/ +3 more | +409 | 0 replies | |
| 2/28 | netfilter: nf_log_arp: merge with nf_log_syslognet/ net/ net/ +1 more | +115 | 0 replies | |
| 3/28 | netfilter: nf_log_ipv6: merge with nf_log_syslognet/ net/ net/ +1 more | +360 | 0 replies | |
| 4/28 | netfilter: nf_log_netdev: merge with nf_log_syslognet/ net/ net/ +1 more | +36 | 0 replies | |
| 5/28 | netfilter: nf_log_bridge: merge with nf_log_sysloginclude/ net/ net/ +3 more | +22 | 0 replies | |
| 6/28 | netfilter: nf_log_common: merge with nf_log_sysloginclude/ net/ net/ +2 more | +181 | 0 replies | |
| 7/28 | netfilter: nf_log: add module softdepsnet/ net/ net/ | +3 | 0 replies | |
| 8/28 | netfilter: nft_log: perform module load from nf_tablesinclude/ net/ net/ +1 more | +27 | 0 replies | |
| 9/28 | audit: log nftables configuration change events once per tablenet/ | +103 | 0 replies | |
| 10/28 | netfilter: ipset: Remove duplicate declarationinclude/ | +0 | 0 replies | |
| 11/28 | netfilter: flowtable: dst_check() from garbage collector pathinclude/ net/ net/ | +44 | 0 replies | |
| 12/28 | netfilter: nftables: remove unnecessary spin_lock_init()net/ | +0 | 0 replies | |
| 13/28 | netfilter: nftables: add helper function to set the base sequence numbernet/ | +14 | 0 replies | |
| 14/28 | netfilter: add helper function to set up the nfnetlink header and use itinclude/ net/ net/ +8 more | +102 | 0 replies | |
| 15/28 | netfilter: ipvs: do not printk on netns creationnet/ | +0 | 0 replies | |
| 16/28 | netfilter: nftables: fix a warning message in nf_tables_commit_audit_collect()net/ | +1 | 0 replies | |
| 17/28 | netfilter: nftables: remove documentation on static functionsnet/ | +0 | 0 replies | |
| 18/28 | netfilter: nfnetlink: add and use nfnetlink_broadcastinclude/ net/ net/ | +10 | 0 replies | |
| 19/28 | netfilter: nfnetlink: use net_generic infranet/ | +44 | 0 replies | |
| 20/28 | netfilter: cttimeout: use net_generic infranet/ | +32 | 0 replies | |
| 21/28 | netfilter: nf_defrag_ipv6: use net_generic infrainclude/ net/ net/ | +52 | 0 replies | |
| 22/28 | netfilter: nf_defrag_ipv4: use net_generic infranet/ | +15 | 0 replies | |
| 23/28 | netfilter: ebtables: use net_generic infranet/ | +34 | 0 replies | |
| 24/28 | netfilter: nf_tables: use net_generic infra for transaction datainclude/ net/ net/ +2 more | +243 | 0 replies | |
| 25/28 | netfilter: x_tables: move known table lists to net_generic infranet/ | +33 | 0 replies | |
| 26/28 | netfilter: conntrack: move sysctl pointer to net_generic infrainclude/ net/ | +9 | 0 replies | |
| 27/28 | netfilter: conntrack: move ecache dwork to net_generic infrainclude/ include/ net/ +1 more | +47 | 0 replies | |
| 28/28 | net: remove obsolete members from struct netinclude/ include/ include/ +2 more | +0 | 0 replies |
Reviews trailers per patch
4 of 28 patches have a Reviewed-by or Acked-by.
| Patch | Phil Sutter | Jozsef Kadlecsik | Paul Moore | Julian Anastasov | Simon Horman |
|---|---|---|---|---|---|
| 1/28 | |||||
| 2/28 | |||||
| 3/28 | |||||
| 4/28 | |||||
| 5/28 | |||||
| 6/28 | |||||
| 7/28 | |||||
| 8/28 | T-b | ||||
| 9/28 | A-b | ||||
| 10/28 | A-b | ||||
| 11/28 | |||||
| 12/28 | |||||
| 13/28 | |||||
| 14/28 | |||||
| 15/28 | A-b | R-b | |||
| 16/28 | R-b | ||||
| 17/28 | |||||
| 18/28 | |||||
| 19/28 | |||||
| 20/28 | |||||
| 21/28 | |||||
| 22/28 | |||||
| 23/28 | |||||
| 24/28 | |||||
| 25/28 | |||||
| 26/28 | |||||
| 27/28 | |||||
| 28/28 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH net-next 00/28] Netfilter updates for net-next
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