Netfilter fixes for net
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | netfilter: nft_dynset: fix panic if NFT_SET_HASH is not enablednet/ | +3 | 0 replies | |
| 2/14 | netfilter: nf_tables: fix *leak* when expr clone failinclude/ net/ net/ +2 more | +23 | 0 replies | |
| 3/14 | netfilter: nf_tables: fix race when create new element in dynsetnet/ | +12 | 0 replies | |
| 4/14 | netfilter: nf_conntrack_sip: extend request line validationnet/ | +4 | 0 replies | |
| 5/14 | netfilter: nf_tables: fix type mismatch with error return from nft_parse_u32_checkinclude/ net/ | +2 | 0 replies | |
| 6/14 | netfilter: conntrack: avoid excess memory allocationinclude/ | +1 | 0 replies | |
| 7/14 | netfilter: ip_vs_sync: fix bogus maybe-uninitialized warningnet/ | +5 | 0 replies | |
| 8/14 | netfilter: nf_tables: destroy the set if fail to add transactionnet/ | +3 | 0 replies | |
| 9/14 | netfilter: nft_dup: do not use sreg_dev if the user doesn't specify itnet/ net/ | +8 | 0 replies | |
| 10/14 | ipvs: use IPVS_CMD_ATTR_MAX for family.maxattrnet/ | +1 | 0 replies | |
| 11/14 | netfilter: connmark: ignore skbs with magic untracked conntrack objectsnet/ | +2 | 0 replies | |
| 12/14 | netfilter: conntrack: fix CT target for UNSPEC helpersnet/ | +8 | 0 replies | |
| 13/14 | netfilter: conntrack: refine gc worker heuristicsnet/ | +41 | 0 replies | |
| 14/14 | netfilter: nf_tables: fix oops when inserting an element into a verdict mapnet/ | +1 | 0 replies |
Reviews trailers per patch
3 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Marco Angaroni | Julian Anastasov | Andrey Konovalov | Nicolas Dichtel |
|---|---|---|---|---|
| 1/14 | ||||
| 2/14 | ||||
| 3/14 | ||||
| 4/14 | A-b | |||
| 5/14 | ||||
| 6/14 | ||||
| 7/14 | A-b | |||
| 8/14 | ||||
| 9/14 | ||||
| 10/14 | T-b | |||
| 11/14 | ||||
| 12/14 | ||||
| 13/14 | A-b | |||
| 14/14 |
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.
Cover letter [PATCH 00/14] Netfilter fixes for net
Hi David,
The following patchset contains a larger than usual batch of Netfilter fixes for your net tree. This series contains a mixture of old bugs and recently introduced bugs, they are:
1) Fix a crash when using nft_dynset with nft_set_rbtree, which doesn't support the set element updates from the packet path. From Liping Zhang.
2) Fix leak when nft_expr_clone() fails, from Liping Zhang.
3) Fix a race when inserting new elements to the set hash from the packet path, also from Liping.
4) Handle segmented TCP SIP packets properly, basically avoid that the INVITE in the allow header create bogus expectations by performing stricter SIP message parsing, from Ulrich Weber.
5) nft_parse_u32_check() should return signed integer for errors, from John Linville.
6) Fix wrong allocation instead of connlabels, allocate 16 instead of 32 bytes, from Florian Westphal.
7) Fix compilation breakage when building the ip_vs_sync code with CONFIG_OPTIMIZE_INLINING on x86, from Arnd Bergmann.
8) Destroy the new set if the transaction object cannot be allocated, also from Liping Zhang.
9) Use device to route duplicated packets via nft_dup only when set by the user, otherwise packets may not follow the right route, again from Liping.
10) Fix wrong maximum genetlink attribute definition in IPVS, from WANG Cong.
11) Ignore untracked conntrack objects from xt_connmark, from Florian Westphal.
12) Allow to use conntrack helpers that are registered NFPROTO_UNSPEC via CT target, otherwise we cannot use the h.245 helper, from Florian.
13) Revisit garbage collection heuristic in the new workqueue-based timer approach for conntrack to evict objects earlier, again from Florian.
14) Fix crash in nf_tables when inserting an element into a verdict map, from Liping Zhang.
You can pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git
Thanks!
----------------------------------------------------------------
The following changes since commit 67f0160fe34ec5391a428603b9832c9f99d8f3a1:
MAINTAINERS: Update qlogic networking drivers (2016-10-26 23:29:12 -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 58c78e104d937c1f560fb10ed9bb2dcde0db4fcf:
netfilter: nf_tables: fix oops when inserting an element into a verdict map (2016-11-08 23:53:39 +0100)
----------------------------------------------------------------
Arnd Bergmann (1):
netfilter: ip_vs_sync: fix bogus maybe-uninitialized warning
Florian Westphal (4):
netfilter: conntrack: avoid excess memory allocation
netfilter: connmark: ignore skbs with magic untracked conntrack objects
netfilter: conntrack: fix CT target for UNSPEC helpers
netfilter: conntrack: refine gc worker heuristics
John W. Linville (1):
netfilter: nf_tables: fix type mismatch with error return from nft_parse_u32_check
Liping Zhang (6):
netfilter: nft_dynset: fix panic if NFT_SET_HASH is not enabled
netfilter: nf_tables: fix *leak* when expr clone fail
netfilter: nf_tables: fix race when create new element in dynset
netfilter: nf_tables: destroy the set if fail to add transaction
netfilter: nft_dup: do not use sreg_dev if the user doesn't specify it
netfilter: nf_tables: fix oops when inserting an element into a verdict map
Ulrich Weber (1):
netfilter: nf_conntrack_sip: extend request line validation
WANG Cong (1):
ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr
include/net/netfilter/nf_conntrack_labels.h | 3 +- include/net/netfilter/nf_tables.h | 8 +++-- net/ipv4/netfilter/nft_dup_ipv4.c | 6 ++-- net/ipv6/netfilter/nft_dup_ipv6.c | 6 ++-- net/netfilter/ipvs/ip_vs_ctl.c | 2 +- net/netfilter/ipvs/ip_vs_sync.c | 7 +++-- net/netfilter/nf_conntrack_core.c | 49 ++++++++++++++++++++++++----- net/netfilter/nf_conntrack_helper.c | 11 +++++-- net/netfilter/nf_conntrack_sip.c | 5 ++- net/netfilter/nf_tables_api.c | 18 ++++++----- net/netfilter/nft_dynset.c | 19 +++++++---- net/netfilter/nft_set_hash.c | 19 ++++++++--- net/netfilter/nft_set_rbtree.c | 2 +- net/netfilter/xt_connmark.c | 4 +-- 14 files changed, 114 insertions(+), 45 deletions(-)