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 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12netfilter: nf_conntrack_sip: allow duplicate SDP expectationsnet/netfilter/nf_conntrack_expect.c net/netfilter/nf_conntrack_sip.c+16 -50 replies
2/12ipvs: fix rtnl_lock lockups caused by start_sync_threadnet/netfilter/ipvs/ip_vs_ctl.c net/netfilter/ipvs/ip_vs_sync.c+80 -830 replies
3/12netfilter: ebtables: don't attempt to allocate 0-sized compat arraynet/bridge/netfilter/ebtables.c+6 -51 reply
4/12netfilter: xt_connmark: Add bit mapping for bit-shift operation.net/netfilter/xt_connmark.c+11 -80 replies
5/12netfilter: conntrack: silent a memory leak warningnet/netfilter/nf_conntrack_extend.c+1 -00 replies
6/12netfilter: fix CONFIG_NF_REJECT_IPV6=m link errornet/netfilter/Kconfig+1 -00 replies
7/12netfilter: nf_tables: can't fail after linking rule into active rule listnet/netfilter/nf_tables_api.c+32 -270 replies
8/12netfilter: nf_tables: free set name in error pathnet/netfilter/nf_tables_api.c+5 -30 replies
9/12netfilter: conntrack: include kmemleak.h for kmemleak_not_leak()net/netfilter/nf_conntrack_extend.c+1 -00 replies
10/12netfilter: nf_tables: NAT chain and extensions require NF_TABLESnet/ipv6/netfilter/Kconfig+28 -270 replies
11/12netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_updatenet/netfilter/nf_tables_api.c+1 -10 replies
12/12netfilter: xt_connmark: do not cast xt_connmark_tginfo1 to xt_connmark_tginfo2net/netfilter/xt_connmark.c+22 -160 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchCallum Sinclair[email protected][email protected]Florian Westphal
1/12T-b
2/12Reported-and-tested-by Reported-and-tested-by
3/12
4/12R-b
5/12
6/12
7/12
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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/12] Netfilter/IPVS fixes for net

Hi David,

The following patchset contains Netfilter/IPVS fixes for your net tree, they are:

1) Fix SIP conntrack with phones sending session descriptions for different media types but same port numbers, from Florian Westphal.

2) Fix incorrect rtnl_lock mutex logic from IPVS sync thread, from Julian Anastasov.

3) Skip compat array allocation in ebtables if there is no entries, also from Florian.

4) Do not lose left/right bits when shifting marks from xt_connmark, from Jack Ma.

5) Silence false positive memleak in conntrack extensions, from Cong Wang.

6) Fix CONFIG_NF_REJECT_IPV6=m link problems, from Arnd Bergmann.

7) Cannot kfree rule that is already in list in nf_tables, switch order so this error handling is not required, from Florian Westphal.

8) Release set name in error path, from Florian.

9) include kmemleak.h in nf_conntrack_extend.c, from Stepheh Rothwell.

10) NAT chain and extensions depend on NF_TABLES.

11) Out of bound access when renaming chains, from Taehee Yoo.

12) Incorrect casting in xt_connmark leads to wrong bitshifting.

You can pull these changes from:

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

Thanks.

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

The following changes since commit a2ac99905f1ea8b15997a6ec39af69aa28a3653b:

vhost-net: set packet weight of tx polling to 2 * vq size (2018-04-09 11:01:37 -0400)

are available in the git repository at:

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

for you to fetch changes up to 5a786232eb69a1f870ddc0cfd69d5bdef241a2ea:

netfilter: xt_connmark: do not cast xt_connmark_tginfo1 to xt_connmark_tginfo2 (2018-04-19 16:19:28 +0200)

----------------------------------------------------------------
Arnd Bergmann (1):
netfilter: fix CONFIG_NF_REJECT_IPV6=m link error

Cong Wang (1):
netfilter: conntrack: silent a memory leak warning

Florian Westphal (4):
netfilter: nf_conntrack_sip: allow duplicate SDP expectations
netfilter: ebtables: don't attempt to allocate 0-sized compat array
netfilter: nf_tables: can't fail after linking rule into active rule list
netfilter: nf_tables: free set name in error path

Jack Ma (1):
netfilter: xt_connmark: Add bit mapping for bit-shift operation.

Julian Anastasov (1):
ipvs: fix rtnl_lock lockups caused by start_sync_thread

Pablo Neira Ayuso (2):
netfilter: nf_tables: NAT chain and extensions require NF_TABLES
netfilter: xt_connmark: do not cast xt_connmark_tginfo1 to xt_connmark_tginfo2

Stephen Rothwell (1):
netfilter: conntrack: include kmemleak.h for kmemleak_not_leak()

Taehee Yoo (1):
netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_update

 net/bridge/netfilter/ebtables.c     |  11 +--
 net/ipv6/netfilter/Kconfig          |  55 ++++++-------
 net/netfilter/Kconfig               |   1 +
 net/netfilter/ipvs/ip_vs_ctl.c      |   8 --
 net/netfilter/ipvs/ip_vs_sync.c     | 155 +++++++++++++++++++-----------------
 net/netfilter/nf_conntrack_expect.c |   5 +-
 net/netfilter/nf_conntrack_extend.c |   2 +
 net/netfilter/nf_conntrack_sip.c    |  16 +++-
 net/netfilter/nf_tables_api.c       |  69 ++++++++--------
 net/netfilter/xt_connmark.c         |  49 +++++++-----
 10 files changed, 200 insertions(+), 171 deletions(-)