Skip to content

Netfilter/IPVS fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10netfilter: ctnetlink: put back references to master ct and expect objectsnet/netfilter/nf_conntrack_netlink.c+0 -50 replies
2/10netfilter: IDLETIMER: fix lockdep warningnet/netfilter/xt_IDLETIMER.c+1 -00 replies
3/10ipvs: fix ipv6 route unreach panicnet/netfilter/ipvs/ip_vs_xmit.c+7 -00 replies
4/10ipvs: do not use random local source address for tunnelsnet/netfilter/ipvs/ip_vs_xmit.c+0 -10 replies
5/10ipvs: fix crash if scheduler is changednet/netfilter/ipvs/ip_vs_core.c net/netfilter/ipvs/ip_vs_ctl.c net/netfilter/ipvs/ip_vs_sched.c+69 -370 replies
6/10ipvs: skb_orphan in case of forwardingnet/netfilter/ipvs/ip_vs_xmit.c+27 -00 replies
7/10ipvs: fix crash with sync protocol v0 and FTPnet/netfilter/ipvs/ip_vs_sync.c+1 -10 replies
8/10ipvs: call skb_sender_cpu_clearnet/netfilter/ipvs/ip_vs_xmit.c+6 -00 replies
9/10netfilter: fix netns dependencies with conntrack templatesinclude/net/netfilter/nf_conntrack.h include/net/netns/conntrack.h net/netfilter/nf_conntrack_core.c +2 more+51 -340 replies
10/10netfilter: nf_conntrack: Support expectations in different zonesnet/netfilter/nf_conntrack_expect.c+2 -10 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchJulian AnastasovDaniel Borkmann
1/10
2/10
3/10A-b
4/10
5/10
6/10A-b
7/10
8/10
9/10T-b
10/10

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/10] Netfilter/IPVS fixes for net

Hi David,

The following patchset contains ten Netfilter/IPVS fixes, they are:

1) Address refcount leak when creating an expectation from the ctnetlink interface.

2) Fix bug splat in the IDLETIMER target related to sysfs, from Dmitry Torokhov.

3) Resolve panic for unreachable route in IPVS with locally generated traffic in the output path, from Alex Gartrell.

4) Fix wrong source address in rare cases for tunneled traffic in IPVS, from Julian Anastasov.

5) Fix crash if scheduler is changed via ipvsadm -E, again from Julian.

6) Make sure skb->sk is unset for forwarded traffic through IPVS, again from Alex Gartrell.

7) Fix crash with IPVS sync protocol v0 and FTP, from Julian.

8) Reset sender cpu for forwarded traffic in IPVS, also from Julian.

9) Allocate template conntracks through kmalloc() to resolve netns dependency problems with the conntrack kmem_cache.

10) Fix zones with expectations that clash using the same tuple, from Joe Stringer.

You can pull these changes from:

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

Thanks!

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

The following changes since commit a7d35f9d73e9ffa74a02304b817e579eec632f67:

bridge: fix potential crash in __netdev_pick_tx() (2015-07-09 22:48:42 -0700)

are available in the git repository at:

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

for you to fetch changes up to 4b31814d20cbe5cd4ccf18089751e77a04afe4f2:

netfilter: nf_conntrack: Support expectations in different zones (2015-07-22 17:00:47 +0200)

----------------------------------------------------------------
Alex Gartrell (2):
ipvs: fix ipv6 route unreach panic
ipvs: skb_orphan in case of forwarding

Dmitry Torokhov (1):
netfilter: IDLETIMER: fix lockdep warning

Joe Stringer (1):
netfilter: nf_conntrack: Support expectations in different zones

Julian Anastasov (4):
ipvs: do not use random local source address for tunnels
ipvs: fix crash if scheduler is changed
ipvs: fix crash with sync protocol v0 and FTP
ipvs: call skb_sender_cpu_clear

Pablo Neira Ayuso (3):
netfilter: ctnetlink: put back references to master ct and expect objects
netfilter: fix netns dependencies with conntrack templates Merge tag 'ipvs-fixes-for-v4.2' of https://git.kernel.org/.../horms/ipvs

 include/net/netfilter/nf_conntrack.h |    2 +-
 include/net/netns/conntrack.h        |    1 -
 net/netfilter/ipvs/ip_vs_core.c      |   16 ++++++-
 net/netfilter/ipvs/ip_vs_ctl.c       |   78 +++++++++++++++++++++-------------
 net/netfilter/ipvs/ip_vs_sched.c     |   12 +++---
 net/netfilter/ipvs/ip_vs_sync.c      |    2 +-
 net/netfilter/ipvs/ip_vs_xmit.c      |   41 +++++++++++++++++-
 net/netfilter/nf_conntrack_core.c    |   67 +++++++++++++++++++----------
 net/netfilter/nf_conntrack_expect.c  |    3 +-
 net/netfilter/nf_conntrack_netlink.c |    5 ---
 net/netfilter/nf_synproxy_core.c     |    7 ++-
 net/netfilter/xt_CT.c                |    8 ++--
 net/netfilter/xt_IDLETIMER.c         |    1 +
 13 files changed, 164 insertions(+), 79 deletions(-)