netfilter updates for net-next (upcoming 3.6), batch 5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | netfilter: ctnetlink: add new messages to obtain statisticsinclude/ net/ | +264 | 0 replies | |
| 2/18 | netfilter: nf_conntrack: fix nf_conntrack_l3proto_registernet/ | +23 | 0 replies | |
| 3/18 | netfilter: nf_conntrack: prepare l4proto->init_net cleanupinclude/ net/ net/ +8 more | +16 | 0 replies | |
| 4/18 | netfilter: nf_conntrack: add nf_ct_kfree_compat_sysctl_tableinclude/ net/ | +9 | 0 replies | |
| 5/18 | netfilter: nf_conntrack: use l4proto->users as refcount for per-net datanet/ | +46 | 0 replies | |
| 6/18 | netfilter: nf_conntrack: fix memory leak if sysctl registration failsnet/ | +5 | 0 replies | |
| 7/18 | netfilter: nf_ct_tcp: merge tcpv[4,6]_net_init into tcp_net_initnet/ | +21 | 0 replies | |
| 8/18 | netfilter: nf_ct_udp: merge udpv[4,6]_net_init into udp_net_initnet/ | +23 | 0 replies | |
| 9/18 | netfilter: nf_ct_udplite: add udplite_kmemdup_sysctl_table functionnet/ | +26 | 0 replies | |
| 10/18 | netfilter: nf_ct_sctp: merge sctpv[4,6]_net_init into sctp_net_initnet/ | +22 | 0 replies | |
| 11/18 | netfilter: nf_ct_generic: add generic_kmemdup_sysctl_table functionnet/ | +31 | 0 replies | |
| 12/18 | netfilter: nf_ct_dccp: add dccp_kmemdup_sysctl_table functionnet/ | +30 | 0 replies | |
| 13/18 | netfilter: nf_ct_icmp: add icmp_kmemdup[_compat]_sysctl_table functionnet/ | +32 | 0 replies | |
| 14/18 | netfilter: nf_ct_icmpv6: add icmpv6_kmemdup_sysctl_table functionnet/ | +13 | 0 replies | |
| 15/18 | netfilter: nf_conntrack: generalize nf_ct_l4proto_netinclude/ net/ net/ +4 more | +41 | 0 replies | |
| 16/18 | netfilter: nf_ct_tcp: missing per-net support for cttimeoutnet/ | +1 | 0 replies | |
| 17/18 | netfilter: nfnetlink: check callbacks before using those in nfnetlink_rcv_msgnet/ | +3 | 0 replies | |
| 18/18 | netfilter: nfnetlink_queue: do not allow to set unsupported flag bitsinclude/ net/ | +6 | 0 replies |
Reviews trailers per patch
2 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Gao feng |
|---|---|
| 1/18 | |
| 2/18 | |
| 3/18 | |
| 4/18 | |
| 5/18 | |
| 6/18 | |
| 7/18 | |
| 8/18 | |
| 9/18 | |
| 10/18 | |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | A-b |
| 16/18 | A-b |
| 17/18 | |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] netfilter updates for net-next (upcoming 3.6), batch 5
From: Pablo Neira Ayuso <[email protected]>
Hi David,
The following patchset includes Netfilter updates for your net-next tree, more specifically:
* Updates to clean-up the sysctl namespace support for nf_conntrack from Gao Feng and a couple of patches from myself. After these, we can prepare follow-up patches to reduce ifdef pollution regarding sysctl support in nf_conntrack_proto_*.c files.
* Check for invalid flags set via NFQA_CFG_FLAGS in nfnetlink_queue from Krishna Kumar.
* Allow to obtain conntrack statistics via ctnetlink from mysqlf. This supersedes /proc/net/stat/nf_conntrack and /proc/sys/net/netfilter/nf_conntrack_count.
* Don't crash if we send a message to nfnetlink and there is not defined callback to handle such message. Instead, nfnetlink returns -EINVAL from Tomasz Bursztyka. This one does not really fix anything now, that's why I'm passing this via net-next.
You can pull these changes from:
git://1984.lsi.us.es/nf-next master
Thanks!
Gao feng (13):
netfilter: nf_conntrack: fix nf_conntrack_l3proto_register
netfilter: nf_conntrack: prepare l4proto->init_net cleanup
netfilter: nf_conntrack: add nf_ct_kfree_compat_sysctl_table
netfilter: nf_conntrack: use l4proto->users as refcount for per-net data
netfilter: nf_conntrack: fix memory leak if sysctl registration fails
netfilter: nf_ct_tcp: merge tcpv[4,6]_net_init into tcp_net_init
netfilter: nf_ct_udp: merge udpv[4,6]_net_init into udp_net_init
netfilter: nf_ct_udplite: add udplite_kmemdup_sysctl_table function
netfilter: nf_ct_sctp: merge sctpv[4,6]_net_init into sctp_net_init
netfilter: nf_ct_generic: add generic_kmemdup_sysctl_table function
netfilter: nf_ct_dccp: add dccp_kmemdup_sysctl_table function
netfilter: nf_ct_icmp: add icmp_kmemdup[_compat]_sysctl_table function
netfilter: nf_ct_icmpv6: add icmpv6_kmemdup_sysctl_table function
Krishna Kumar (1):
netfilter: nfnetlink_queue: do not allow to set unsupported flag bits
Pablo Neira Ayuso (3):
netfilter: ctnetlink: add new messages to obtain statistics
netfilter: nf_conntrack: generalize nf_ct_l4proto_net
netfilter: nf_ct_tcp: missing per-net support for cttimeout
Tomasz Bursztyka (1):
netfilter: nfnetlink: check callbacks before using those in nfnetlink_rcv_msg
include/linux/netfilter/nfnetlink_conntrack.h | 38 ++++ include/linux/netfilter/nfnetlink_queue.h | 1 + include/net/netfilter/nf_conntrack_l4proto.h | 13 +- net/ipv4/netfilter/nf_conntrack_proto_icmp.c | 47 ++++- net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 23 ++- net/netfilter/nf_conntrack_netlink.c | 227 +++++++++++++++++++++++- net/netfilter/nf_conntrack_proto.c | 139 ++++++++------- net/netfilter/nf_conntrack_proto_dccp.c | 56 +++--- net/netfilter/nf_conntrack_proto_generic.c | 45 ++++- net/netfilter/nf_conntrack_proto_gre.c | 2 +- net/netfilter/nf_conntrack_proto_sctp.c | 65 +++---- net/netfilter/nf_conntrack_proto_tcp.c | 74 +++----- net/netfilter/nf_conntrack_proto_udp.c | 66 +++---- net/netfilter/nf_conntrack_proto_udplite.c | 43 +++-- net/netfilter/nfnetlink.c | 4 +- net/netfilter/nfnetlink_queue_core.c | 5 + 16 files changed, 591 insertions(+), 257 deletions(-)
Signature · 1 line
1.7.10