Skip to content

Netfilter updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7netfilter: nftables: rename set element data activation/deactivation functionsnet/netfilter/nf_tables_api.c+11 -110 repliesApplied
2/7netfilter: nftables: add loop check helper functionnet/netfilter/nf_tables_api.c+21 -90 repliesApplied
3/7netfilter: nftables: add helper function to flush set elementsnet/netfilter/nf_tables_api.c+18 -130 repliesApplied
4/7netfilter: nftables: add helper function to validate set element datanet/netfilter/nf_tables_api.c+11 -40 repliesApplied
5/7netfilter: nftables: add catch-all set element supportinclude/net/netfilter/nf_tables.h include/uapi/linux/netfilter/nf_tables.h net/netfilter/nf_tables_api.c +5 more+465 -630 repliesApplied
6/7netfilter: nft_socket: fix an unused variable warningnet/netfilter/nft_socket.c+5 -20 repliesApplied
7/7netfilter: nft_socket: fix build with CONFIG_SOCK_CGROUP_DATA=nnet/netfilter/nft_socket.c+2 -20 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/7] Netfilter updates for net-next

Hi,

The following patchset contains Netfilter updates for net-next:

1) Add support for the catch-all set element. This special element can be used to define a default action to be applied in case that the set lookup returns no matching element.

2) Fix incorrect #ifdef dependencies in the nftables cgroupsv2 support, from Arnd Bergmann.

Please, pull these changes from:

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

Thanks!

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

The following changes since commit 6d72e7c767acbbdd44ebc7d89c6690b405b32b57:

net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send (2021-04-26 13:07:30 -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 7acc0bb490c85012bcbda142b6755fd1fdf1fba1:

netfilter: nft_socket: fix build with CONFIG_SOCK_CGROUP_DATA=n (2021-04-27 22:34:05 +0200)

----------------------------------------------------------------
Arnd Bergmann (2):
netfilter: nft_socket: fix an unused variable warning
netfilter: nft_socket: fix build with CONFIG_SOCK_CGROUP_DATA=n

Pablo Neira Ayuso (5):
netfilter: nftables: rename set element data activation/deactivation functions
netfilter: nftables: add loop check helper function
netfilter: nftables: add helper function to flush set elements
netfilter: nftables: add helper function to validate set element data
netfilter: nftables: add catch-all set element support

 include/net/netfilter/nf_tables.h        |   5 +
 include/uapi/linux/netfilter/nf_tables.h |   2 +
 net/netfilter/nf_tables_api.c            | 576 ++++++++++++++++++++++++++-----
 net/netfilter/nft_lookup.c               |  12 +-
 net/netfilter/nft_objref.c               |  11 +-
 net/netfilter/nft_set_hash.c             |   6 +
 net/netfilter/nft_set_pipapo.c           |   6 +-
 net/netfilter/nft_set_rbtree.c           |   6 +
 net/netfilter/nft_socket.c               |  11 +-
 9 files changed, 532 insertions(+), 103 deletions(-)