Skip to content

Netfilter updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

Status from this message: Applied, thanks Pablo.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/18netfilter: kill nf_hooks_activeinclude/linux/netfilter.h+4 -70 replies
2/18netfilter: Simply the tests for enabling and disabling the ingress queue hooknet/netfilter/core.c+6 -110 replies
3/18netfilter: Factor out the hook list selection from nf_register_hooknet/netfilter/core.c+18 -140 replies
4/18netfilter: Per network namespace netfilter hooks.include/linux/netfilter.h include/net/netns/netfilter.h net/netfilter/core.c+173 -240 replies
5/18netfilter: nftables: Only run the nftables chains in the proper netnsnet/netfilter/nf_tables_api.c net/netfilter/nf_tables_core.c+6 -70 replies
6/18netfilter: xtables: compute exact size needed for jumpstacknet/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c net/ipv6/netfilter/ip6_tables.c +1 more+49 -250 replies
7/18netfilter: move tee_active to coreinclude/linux/netfilter.h net/netfilter/core.c net/netfilter/xt_TEE.c+20 -70 replies
8/18netfilter: xtables: don't save/restore jumpstack offsetinclude/linux/netfilter/x_tables.h net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c +2 more+48 -490 replies
9/18netfilter: add and use jump label for xt_teeinclude/linux/netfilter/x_tables.h net/ipv4/netfilter/ip_tables.c net/ipv6/netfilter/ip6_tables.c +2 more+16 -20 replies
10/18netfilter: xtables: remove __pure annotationnet/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c net/ipv6/netfilter/ip6_tables.c+3 -30 replies
11/18netfilter: Fix memory leak in nf_register_net_hooknet/netfilter/core.c+3 -10 replies
12/18netfilter: nf_queue: fix nf_queue_nf_hook_drop()net/netfilter/core.c net/netfilter/nf_internals.h net/netfilter/nf_queue.c+5 -110 replies
13/18netfilter: fix possible removal of wrong hooknet/netfilter/core.c+19 -220 replies
14/18netfilter: rename local nf_hook_list to hook_listinclude/linux/netfilter.h net/netfilter/core.c+21 -210 replies
15/18netfilter: nf_ct_sctp: minimal multihoming supportinclude/uapi/linux/netfilter/nf_conntrack_sctp.h include/uapi/linux/netfilter/nfnetlink_cttimeout.h net/netfilter/nf_conntrack_proto_sctp.c+81 -240 replies
16/18netfilter: bridge: reduce nf_bridge_info to 32 bytes againinclude/linux/netfilter_bridge.h include/linux/skbuff.h net/bridge/br_netfilter_hooks.c +3 more+33 -280 replies
17/18netfilter: bridge: do not initialize statics to 0 or NULLnet/bridge/br_netfilter_hooks.c+3 -30 replies
18/18netfilter: ip6t_REJECT: Remove debug messages from reject_tg6()net/ipv6/netfilter/ip6t_REJECT.c+0 -50 replies

Reviews trailers per patch

3 of 18 patches have a Reviewed-by or Acked-by.

PatchEric W. Biederman
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18A-b
13/18A-b
14/18A-b
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/18] Netfilter updates for net-next

Hi David,

The following patchset contains Netfilter updates for net-next, they are:

1) A couple of cleanups for the netfilter core hook from Eric Biederman.

2) Net namespace hook registration, also from Eric. This adds a dependency with the rtnl_lock. This should be fine by now but we have to keep an eye on this because if we ever get the per-subsys nfnl_lock before rtnl we have may problems in the future. But we have room to remove this in the future by propagating the complexity to the clients, by registering hooks for the init netns functions.

3) Update nf_tables to use the new net namespace hook infrastructure, also from Eric.

4) Three patches to refine and to address problems from the new net namespace hook infrastructure.

5) Switch to alternate jumpstack in xtables iff the packet is reentering. This only applies to a very special case, the TEE target, but Eric Dumazet reports that this is slowing down things for everyone else. So let's only switch to the alternate jumpstack if the tee target is in used through a static key. This batch also comes with offline precalculation of the jumpstack based on the callchain depth. From Florian Westphal.

6) Minimal SCTP multihoming support for our conntrack helper, from Michal Kubecek.

7) Reduce nf_bridge_info per skbuff scratchpad area to 32 bytes, from Florian Westphal.

8) Fix several checkpatch errors in bridge netfilter, from Bernhard Thaler.

9) Get rid of useless debug message in ip6t_REJECT, from Subash Abhinov.

You can pull these changes from:

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

Thanks!

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

The following changes since commit 0d6ef0688d8744454646298b85336407be05e309:

ipvs: Delete an unnecessary check before the function call "module_put" (2015-07-15 17:51:22 +0200)

are available in the git repository at:

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

for you to fetch changes up to a6cd379b4d68867295ea35a719008e86d7a2ee9f:

netfilter: ip6t_REJECT: Remove debug messages from reject_tg6() (2015-08-04 11:12:51 +0200)

----------------------------------------------------------------
Bernhard Thaler (1):
netfilter: bridge: do not initialize statics to 0 or NULL

Eric W. Biederman (6):
netfilter: kill nf_hooks_active
netfilter: Simply the tests for enabling and disabling the ingress queue hook
netfilter: Factor out the hook list selection from nf_register_hook
netfilter: Per network namespace netfilter hooks.
netfilter: nftables: Only run the nftables chains in the proper netns
netfilter: Fix memory leak in nf_register_net_hook

Florian Westphal (6):
netfilter: xtables: compute exact size needed for jumpstack
netfilter: move tee_active to core
netfilter: xtables: don't save/restore jumpstack offset
netfilter: add and use jump label for xt_tee
netfilter: xtables: remove __pure annotation
netfilter: bridge: reduce nf_bridge_info to 32 bytes again

Michal Kubeček (1):
netfilter: nf_ct_sctp: minimal multihoming support

Pablo Neira Ayuso (3):
netfilter: nf_queue: fix nf_queue_nf_hook_drop()
netfilter: fix possible removal of wrong hook
netfilter: rename local nf_hook_list to hook_list

Subash Abhinov Kasiviswanathan (1):
netfilter: ip6t_REJECT: Remove debug messages from reject_tg6()

 include/linux/netfilter.h                          |   42 ++--
 include/linux/netfilter/x_tables.h                 |    8 +-
 include/linux/netfilter_bridge.h                   |   12 +-
 include/linux/skbuff.h                             |   19 +-
 include/net/netns/netfilter.h                      |    1 +
 include/uapi/linux/netfilter/nf_conntrack_sctp.h   |    2 +
 include/uapi/linux/netfilter/nfnetlink_cttimeout.h |    2 +
 net/bridge/br_netfilter_hooks.c                    |   20 +-
 net/bridge/br_netfilter_ipv6.c                     |    2 +-
 net/ipv4/netfilter/arp_tables.c                    |   32 +--
 net/ipv4/netfilter/ip_tables.c                     |   68 +++---
 net/ipv4/netfilter/nf_defrag_ipv4.c                |    7 +-
 net/ipv6/netfilter/ip6_tables.c                    |   52 +++--
 net/ipv6/netfilter/ip6t_REJECT.c                   |    5 -
 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c          |    7 +-
 net/netfilter/core.c                               |  225 ++++++++++++++++----
 net/netfilter/nf_conntrack_proto_sctp.c            |  101 ++++++---
 net/netfilter/nf_internals.h                       |    2 +-
 net/netfilter/nf_queue.c                           |   12 +-
 net/netfilter/nf_tables_api.c                      |    8 +-
 net/netfilter/nf_tables_core.c                     |    5 -
 net/netfilter/x_tables.c                           |   29 ++-
 net/netfilter/xt_TEE.c                             |   15 +-
 23 files changed, 460 insertions(+), 216 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html