Skip to content

Netfilter 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 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6netfilter: nft_ct: fix random validation errors for zone set supportnet/netfilter/nft_ct.c+1 -00 replies
2/6uapi: stop including linux/sysctl.h in uapi/linux/netfilter.hinclude/uapi/linux/netfilter.h+0 -10 replies
3/6uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation errorinclude/uapi/linux/netfilter/xt_hashlimit.h+1 -00 replies
4/6netfilter: nf_ct_expect: nf_ct_expect_related_report(): Return zero on success.net/netfilter/nf_conntrack_expect.c+1 -10 replies
5/6netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.net/netfilter/nf_conntrack_expect.c+2 -20 replies
6/6netfilter: nft_set_bitmap: incorrect bitmap sizenet/netfilter/nft_set_bitmap.c+1 -10 replies

Reviews trailers per patch

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

PatchJoe Stringer
1/6
2/6
3/6
4/6A-b
5/6A-b
6/6

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 0/6] Netfilter fixes for net

Hi David,

The following patchset contains netfilter fixes for you net tree, they are:

1) Missing ct zone size in the nft_ct initialization path, patch from Florian Westphal.

2) Two patches for netfilter uapi headers, one to remove unnecessary sysctl.h inclusion and another to fix compilation of xt_hashlimit.h in userspace, from Dmitry V. Levin.

3) Patch to fix a sloppy change in nf_ct_expect that incorrectly simplified nf_ct_expect_related_report() in the previous nf-next batch. This also includes another patch for __nf_ct_expect_check() to report success by returning 0 to keep it consistent with other existing functions. From Jarno Rajahalme.

4) The ->walk() iterator of the new bitmap set type goes over the real bitmap size, this results in incorrect dumps when NFTA_SET_USERDATA is used.

You can pull these changes from:

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

Thanks!

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

The following changes since commit 9c4713701c01e4cef6e2315c2818abc919ffb0de:

bpf: Fix bpf_xdp_event_output (2017-02-23 13:53:42 -0500)

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 13aa5a8f498dacd5f1a8e35be72af47e630fb8c6:

netfilter: nft_set_bitmap: incorrect bitmap size (2017-02-26 21:00:19 +0100)

----------------------------------------------------------------
Dmitry V. Levin (2):
uapi: stop including linux/sysctl.h in uapi/linux/netfilter.h
uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error

Florian Westphal (1):
netfilter: nft_ct: fix random validation errors for zone set support

Jarno Rajahalme (2):
netfilter: nf_ct_expect: nf_ct_expect_related_report(): Return zero on success.
netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

Pablo Neira Ayuso (1):
netfilter: nft_set_bitmap: incorrect bitmap size

 include/uapi/linux/netfilter.h              | 1 -
 include/uapi/linux/netfilter/xt_hashlimit.h | 1 +
 net/netfilter/nf_conntrack_expect.c         | 6 +++---
 net/netfilter/nft_ct.c                      | 1 +
 net/netfilter/nft_set_bitmap.c              | 2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)