Skip to content

netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7netfilter: nf_conntrack: use RCU safe kfree for conntrack extensionsinclude/net/netfilter/nf_conntrack_extend.h+1 -10 replies
2/7netfilter: nf_nat_proto_icmpv6:: fix wrong comparison in icmpv6_manip_pktnet/ipv6/netfilter/nf_nat_proto_icmpv6.c+2 -20 replies
3/7netfilter: ipset: Skip really non-first fragments for IPv6 when getting port/protocolnet/netfilter/ipset/ip_set_getport.c+2 -20 replies
4/7netfilter: ipset: Consistent userspace testing with nomatch flaginclude/linux/netfilter/ipset/ip_set.h net/netfilter/ipset/ip_set_core.c net/netfilter/ipset/ip_set_hash_ipportnet.c +3 more+13 -120 replies
5/7netfilter: ipset: Validate the set family and not the set type family at swappingnet/netfilter/ipset/ip_set_core.c+1 -10 replies
6/7netfilter: ipset: Fix serious failure in CIDR trackingnet/netfilter/ipset/ip_set_hash_gen.h+16 -120 replies
7/7netfilter: nfnetlink_queue: use network skb for sequence adjustmentnet/netfilter/nfnetlink_queue_core.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] netfilter fixes for net

Hi David,

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

* Fix ICMPv6 NAT due to wrong comparison, code instead of type, from Phil Oester.

* Fix RCU race in conntrack extensions release path, from Michal Kubecek.

* Fix missing inversion in the userspace ipset test command match if the nomatch option is specified, from Jozsef Kadlecsik.

* Skip layer 4 protocol matching in ipset in case of IPv6 fragments, also from Jozsef Kadlecsik.

* Fix sequence adjustment in nfnetlink_queue due to using the netlink skb instead of the network skb, from Gao feng.

* Make sure we cannot swap of sets with different layer 3 family in ipset, from Jozsef Kadlecsik.

* Fix possible bogus matching in ipset if hash sets with net elements are used, from Oliver Smith.

Gao feng (1):
netfilter: nfnetlink_queue: use network skb for sequence adjustment

Jozsef Kadlecsik (3):
netfilter: ipset: Skip really non-first fragments for IPv6 when getting port/protocol
netfilter: ipset: Consistent userspace testing with nomatch flag
netfilter: ipset: Validate the set family and not the set type family at swapping

Michal Kubeček (1):
netfilter: nf_conntrack: use RCU safe kfree for conntrack extensions

Oliver Smith (1):
netfilter: ipset: Fix serious failure in CIDR tracking

Phil Oester (1):
netfilter: nf_nat_proto_icmpv6:: fix wrong comparison in icmpv6_manip_pkt

 include/linux/netfilter/ipset/ip_set.h      |    6 ++++--
 include/net/netfilter/nf_conntrack_extend.h |    2 +-
 net/ipv6/netfilter/nf_nat_proto_icmpv6.c    |    4 ++--
 net/netfilter/ipset/ip_set_core.c           |    5 ++---
 net/netfilter/ipset/ip_set_getport.c        |    4 ++--
 net/netfilter/ipset/ip_set_hash_gen.h       |   28 +++++++++++++++------------
 net/netfilter/ipset/ip_set_hash_ipportnet.c |    4 ++--
 net/netfilter/ipset/ip_set_hash_net.c       |    4 ++--
 net/netfilter/ipset/ip_set_hash_netiface.c  |    4 ++--
 net/netfilter/ipset/ip_set_hash_netport.c   |    4 ++--
 net/netfilter/nfnetlink_queue_core.c        |    2 +-
 11 files changed, 36 insertions(+), 31 deletions(-)
Signature · 1 line
1.7.10.4