Skip to content

Netfilter/IPVS updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12netfilter: xt_CT: optimize XT_CT_NOTRACKnet/netfilter/xt_CT.c+6 -40 replies
2/12netfilter: xt_socket: use IP early demuxnet/netfilter/xt_socket.c+16 -100 replies
3/12bridge: netfilter: using strlcpy() instead of strncpy()net/bridge/netfilter/ebtables.c+3 -30 replies
4/12netfilter: don't panic on error while walking through the init pathinclude/linux/netfilter.h net/netfilter/core.c net/netfilter/nf_log.c +1 more+20 -120 replies
5/12netfilter: {ipt,ebt}_ULOG: rise warning on deprecationinclude/net/netns/x_tables.h net/bridge/netfilter/ebt_ulog.c net/ipv4/netfilter/Kconfig +1 more+19 -10 replies
6/12sched: add cond_resched_rcu() helperinclude/linux/sched.h+9 -01 reply
7/12ipvs: use cond_resched_rcu() helper when walking connectionsnet/netfilter/ipvs/ip_vs_conn.c+8 -150 replies
8/12ipvs: change type of netns_ipvs->sysctl_sync_qlen_maxinclude/net/ip_vs.h net/netfilter/ipvs/ip_vs_ctl.c+6 -60 replies
9/12netfilter: nfnetlink_queue: avoid peer_portid testnet/netfilter/nfnetlink_queue_core.c+0 -40 replies
10/12netfilter: Implement RFC 1123 for FTP conntracknet/netfilter/nf_conntrack_ftp.c+54 -190 replies
11/12netfilter: nfnetlink_queue: cleanup copy_range usagenet/netfilter/nfnetlink_queue_core.c+12 -100 replies
12/12netfilter: nfnetlink_queue: only add CAP_LEN attr when needednet/netfilter/nfnetlink_queue_core.c+2 -10 replies

Reviews trailers per patch

6 of 12 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerBart De SchuymerGao fengJulian AnastasovPeter ZijlstraPaul E. McKenney
1/12
2/12A-b
3/12A-b
4/12A-b
5/12A-b
6/12T-b A-b R-b
7/12A-b
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

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

From: Pablo Neira Ayuso <[email protected]>

Hi David,

The following patchset contains the first batch of Netfilter/IPVS updates for your net-next tree, they are:

* Three patches with improvements and code refactorization for nfnetlink_queue, from Florian Westphal.

* FTP helper now parses replies without brackets, as RFC1123 recommends, from Jeff Mahoney.

* Rise a warning to tell everyone about ULOG deprecation, NFLOG has been already in the kernel tree for long time and supersedes the old logging over netlink stub, from myself.

* Don't panic if we fail to load netfilter core framework, just bail out instead, from myself.

* Add cond_resched_rcu, used by IPVS to allow rescheduling while walking over big hashtables, from Simon Horman.

* Change type of IPVS sysctl_sync_qlen_max sysctl to avoid possible overflow, from Zhang Yanfei.

* Use strlcpy instead of strncpy to skip zeroing of already initialized area to write the extension names in ebtables, from Chen Gang.

* Use already existing per-cpu notrack object from xt_CT, from Eric Dumazet.

* Save explicit socket lookup in xt_socket now that we have early demux, also from Eric Dumazet.

You can pull these changes from:

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

Thanks!

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

The following changes since commit 8892475386e819aa50856947948c546ccc964d96:

ipv6: use ipv6_addr_scope() helper (2013-05-23 01:17:47 -0700)

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 7f87712c0152511a1842698ad8dca425fee2dc4f:

netfilter: nfnetlink_queue: only add CAP_LEN attr when needed (2013-06-05 12:40:54 +0200)

----------------------------------------------------------------
Chen Gang (1):
bridge: netfilter: using strlcpy() instead of strncpy()

Eric Dumazet (2):
netfilter: xt_CT: optimize XT_CT_NOTRACK
netfilter: xt_socket: use IP early demux

Florian Westphal (3):
netfilter: nfnetlink_queue: avoid peer_portid test
netfilter: nfnetlink_queue: cleanup copy_range usage
netfilter: nfnetlink_queue: only add CAP_LEN attr when needed

Jeff Mahoney (1):
netfilter: Implement RFC 1123 for FTP conntrack

Pablo Neira Ayuso (2):
netfilter: don't panic on error while walking through the init path
netfilter: {ipt,ebt}_ULOG: rise warning on deprecation

Simon Horman (2):
sched: add cond_resched_rcu() helper
ipvs: use cond_resched_rcu() helper when walking connections

Zhang Yanfei (1):

      ipvs: change type of netns_ipvs->sysctl_sync_qlen_max
 include/linux/netfilter.h            |    2 +-
 include/linux/sched.h                |    9 +++++
 include/net/ip_vs.h                  |    8 ++--
 include/net/netns/x_tables.h         |    6 +++
 net/bridge/netfilter/ebt_ulog.c      |    6 +++
 net/bridge/netfilter/ebtables.c      |    6 +--
 net/ipv4/netfilter/Kconfig           |    2 +-
 net/ipv4/netfilter/ipt_ULOG.c        |    6 +++
 net/netfilter/core.c                 |   21 +++++++---
 net/netfilter/ipvs/ip_vs_conn.c      |   23 ++++-------
 net/netfilter/ipvs/ip_vs_ctl.c       |    4 +-
 net/netfilter/nf_conntrack_ftp.c     |   73 +++++++++++++++++++++++++---------
 net/netfilter/nf_log.c               |    5 +--
 net/netfilter/nfnetlink_queue_core.c |   29 +++++++-------
 net/netfilter/xt_CT.c                |   10 +++--
 net/netfilter/xt_socket.c            |   26 +++++++-----
 net/socket.c                         |    4 +-
 17 files changed, 155 insertions(+), 85 deletions(-)