Netfilter fixes for net
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | netfilter: nf_conntrack: allow server to become a client in TW handlingnet/ | +2 | 0 replies | |
| 2/8 | netfilter: ipset: off by one in ip_set_nfnl_get_byindex()net/ | +1 | 0 replies | |
| 3/8 | netfilter: nf_tables: check for NULL in nf_tables_newchain pcpu stats allocationnet/ | +2 | 0 replies | |
| 4/8 | bridge: Do not compile options in br_parse_ip_optionsnet/ | +5 | 0 replies | |
| 5/8 | netfilter: nf_log: account for size of NLMSG_DONE attributenet/ | +3 | 0 replies | |
| 6/8 | netfilter: nfnetlink_log: fix maximum packet length logged to userspacenet/ | +5 | 0 replies | |
| 7/8 | netfilter: nf_log: release skbuff on nlmsg put failurenet/ | +8 | 0 replies | |
| 8/8 | netfilter: nft_compat: fix wrong target lookup in nft_target_select_ops()net/ | +1 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Jozsef Kadlecsik | Florian Westphal |
|---|---|---|
| 1/8 | A-b | |
| 2/8 | A-b | |
| 3/8 | ||
| 4/8 | T-b | |
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Netfilter fixes for net
Hi David,
The following patchset contains Netfilter fixes for your net tree, they are:
1) Allow to recycle a TCP port in conntrack when the change role from server to client, from Marcelo Leitner.
2) Fix possible off by one access in ip_set_nfnl_get_byindex(), patch from Dan Carpenter.
3) alloc_percpu returns NULL on error, no need for IS_ERR() in nf_tables chain statistic updates. From Sabrina Dubroca.
4) Don't compile ip options in bridge netfilter, this mangles the packet and bridge should not alter layer >= 3 headers when forwarding packets. Patch from Herbert Xu and tested by Florian Westphal.
5) Account the final NLMSG_DONE message when calculating the size of the nflog netlink batches. Patch from Florian Westphal.
6) Fix a possible netlink attribute length overflow with large packets. Again from Florian Westphal.
7) Release the skbuff if nfnetlink_log fails to put the final NLMSG_DONE message. This fixes a leak on error. This shouldn't ever happen though, otherwise this means we miscalculate the netlink batch size, so spot a warning if this ever happens so we can track down the problem. This patch from Houcheng Lin.
8) Look at the right list when recycling targets in the nft_compat, patch from Arturo Borrero.
You can pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git
Thanks!
----------------------------------------------------------------
The following changes since commit 7c1c97d54f9bfc810908d3903cb8bcacf734df18:
net: sched: initialize bstats syncp (2014-10-21 21:45:21 -0400)
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 7965ee93719921ea5978f331da653dfa2d7b99f5:
netfilter: nft_compat: fix wrong target lookup in nft_target_select_ops() (2014-10-27 22:17:46 +0100)
----------------------------------------------------------------
Arturo Borrero (1):
netfilter: nft_compat: fix wrong target lookup in nft_target_select_ops()
Dan Carpenter (1):
netfilter: ipset: off by one in ip_set_nfnl_get_byindex()
Florian Westphal (2):
netfilter: nf_log: account for size of NLMSG_DONE attribute
netfilter: nfnetlink_log: fix maximum packet length logged to userspace
Herbert Xu (1):
bridge: Do not compile options in br_parse_ip_options
Houcheng Lin (1):
netfilter: nf_log: release skbuff on nlmsg put failure
Marcelo Leitner (1):
netfilter: nf_conntrack: allow server to become a client in TW handling
Sabrina Dubroca (1):
netfilter: nf_tables: check for NULL in nf_tables_newchain pcpu stats allocation
net/bridge/br_netfilter.c | 24 +++++------------------- net/netfilter/ipset/ip_set_core.c | 2 +- net/netfilter/nf_conntrack_proto_tcp.c | 4 ++-- net/netfilter/nf_tables_api.c | 4 ++-- net/netfilter/nfnetlink_log.c | 31 ++++++++++++++++--------------- net/netfilter/nft_compat.c | 2 +- 6 files changed, 27 insertions(+), 40 deletions(-)