android_kernel_samsung_msm8226/net/netfilter
Hannes Frederic Sowa bd64ab13d1 ipv4: hash net ptr into fragmentation bucket selection
commit b6a7719aedd7e5c0f2df7641aa47386111682df4 upstream.

As namespaces are sometimes used with overlapping ip address ranges,
we should also use the namespace as input to the hash to select the ip
fragmentation counter bucket.

Cc: Eric Dumazet <edumazet@google.com>
Cc: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
Change-Id: I7d76a6f5820ae05a159c8207fe52a6e58db6f024
2020-04-18 17:55:14 +02:00
..
interceptor netfilter: interceptor: Drop Samsung's kuid_t implementation 2019-08-08 15:08:49 +02:00
ipset netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ipvs ipv4: hash net ptr into fragmentation bucket selection 2020-04-18 17:55:14 +02:00
Kconfig netfilter: fix missing dependencies for NETFILTER_XT_MATCH_CONNLABEL 2020-01-06 08:40:35 +01:00
Makefile netfilter: add connlabel conntrack extension 2020-01-06 08:40:34 +01:00
core.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_conntrack_acct.c Merge branch 'nf-next' of git://1984.lsi.us.es/net-next 2011-12-25 02:21:45 -05:00
nf_conntrack_amanda.c netfilter: nf_nat: support IPv6 in amanda NAT helper 2020-01-06 08:40:32 +01:00
nf_conntrack_broadcast.c
nf_conntrack_core.c netfilter: add connlabel conntrack extension 2020-01-06 08:40:34 +01:00
nf_conntrack_ecache.c netfilter: nf_ct_ecache: refactor nf_ct_deliver_cached_events 2012-03-07 17:40:53 +01:00
nf_conntrack_expect.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
nf_conntrack_extend.c netfilter: nf_ct_ext: support variable length extensions 2020-01-06 08:40:31 +01:00
nf_conntrack_ftp.c netfilter: nf_ct_ftp: add sequence tracking pickup facility for injected entries 2020-01-06 08:40:33 +01:00
nf_conntrack_h323_asn1.c
nf_conntrack_h323_main.c netfilter: nf_nat: add protoff argument to packet mangling functions 2020-01-06 08:40:32 +01:00
nf_conntrack_h323_types.c
nf_conntrack_helper.c netfilter: nf_ct_helper: disable automatic helper re-assignment of different type 2020-01-06 08:40:31 +01:00
nf_conntrack_irc.c netfilter: nf_nat: support IPv6 in IRC NAT helper 2020-01-06 08:40:33 +01:00
nf_conntrack_l3proto_generic.c
nf_conntrack_labels.c netfilter: add connlabel conntrack extension 2020-01-06 08:40:34 +01:00
nf_conntrack_netbios_ns.c
nf_conntrack_netlink.c netfilter: add connlabel conntrack extension 2020-01-06 08:40:34 +01:00
nf_conntrack_pptp.c netfilter: nf_nat: add protoff argument to packet mangling functions 2020-01-06 08:40:32 +01:00
nf_conntrack_proto.c netfilter: cttimeout: fix dependency with l4protocol conntrack module 2012-03-23 00:52:01 +01:00
nf_conntrack_proto_dccp.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
nf_conntrack_proto_generic.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
nf_conntrack_proto_gre.c netfilter: nf_ct_helper: implement variable length helper private data 2020-01-06 08:40:31 +01:00
nf_conntrack_proto_sctp.c netfilter: add cttimeout infrastructure for fine timeout tuning 2012-03-07 17:41:22 +01:00
nf_conntrack_proto_tcp.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_conntrack_proto_udp.c netfilter: add cttimeout infrastructure for fine timeout tuning 2012-03-07 17:41:22 +01:00
nf_conntrack_proto_udplite.c netfilter: add cttimeout infrastructure for fine timeout tuning 2012-03-07 17:41:22 +01:00
nf_conntrack_sane.c netfilter: nf_ct_helper: implement variable length helper private data 2020-01-06 08:40:31 +01:00
nf_conntrack_sip.c netfilter: nf_nat: support IPv6 in SIP NAT helper 2020-01-06 08:40:33 +01:00
nf_conntrack_snmp.c
nf_conntrack_standalone.c netfilter: provide config option to disable ancient procfs parts 2011-12-27 20:45:28 +01:00
nf_conntrack_tftp.c netfilter: nf_nat: support IPv6 in TFTP NAT helper 2020-01-06 08:40:33 +01:00
nf_conntrack_timeout.c netfilter: nf_ct_ext: add timeout extension 2012-03-07 17:41:25 +01:00
nf_conntrack_timestamp.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
nf_internals.h
nf_log.c net: reintroduce missing rcu_assign_pointer() calls 2012-01-12 12:26:56 -08:00
nf_nat_amanda.c netfilter: nf_nat: support IPv6 in amanda NAT helper 2020-01-06 08:40:32 +01:00
nf_nat_core.c netfilter: ipv6: add IPv6 NAT support 2020-01-06 08:40:33 +01:00
nf_nat_ftp.c netfilter: nf_nat: support IPv6 in FTP NAT helper 2020-01-06 08:40:32 +01:00
nf_nat_helper.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_irc.c netfilter: nf_nat: support IPv6 in IRC NAT helper 2020-01-06 08:40:33 +01:00
nf_nat_proto_common.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_dccp.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_sctp.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_tcp.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_udp.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_udplite.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_proto_unknown.c netfilter: add protocol independent NAT core 2020-01-06 08:40:32 +01:00
nf_nat_sip.c netfilter: nf_nat: support IPv6 in SIP NAT helper 2020-01-06 08:40:33 +01:00
nf_nat_tftp.c netfilter: nf_nat: support IPv6 in TFTP NAT helper 2020-01-06 08:40:33 +01:00
nf_queue.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
nf_sockopt.c
nf_tproxy_core.c
nfnetlink.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
nfnetlink_acct.c net/netfilter/nfnetlink_acct.c: use linux/atomic.h 2012-04-01 16:47:12 -04:00
nfnetlink_cthelper.c netfilter: nf_ct_ftp: add sequence tracking pickup facility for injected entries 2020-01-06 08:40:33 +01:00
nfnetlink_cttimeout.c netfilter: cttimeout: fix dependency with l4protocol conntrack module 2012-03-23 00:52:01 +01:00
nfnetlink_log.c netfilter: Remove unnecessary OOM logging messages 2011-11-01 09:19:49 +01:00
nfnetlink_queue_core.c netfilter: nfnetlink_queue: add NFQA_CAP_LEN attribute 2020-01-06 08:40:34 +01:00
nfnetlink_queue_ct.c netfilter: nfnetlink_queue: fix sparse warning due to missing include 2020-01-06 08:40:31 +01:00
x_tables.c netfilter: x_tables: print correct hook names for ARP 2020-01-06 08:40:34 +01:00
xt_AUDIT.c ipv6: Add fragment reporting to ipv6_skip_exthdr(). 2011-12-03 09:35:10 -08:00
xt_CHECKSUM.c
xt_CLASSIFY.c
xt_CONNSECMARK.c
xt_CT.c netfilter: xt_CT: recover NOTRACK target support 2020-01-06 08:40:34 +01:00
xt_DSCP.c
xt_HL.c netfilter: Reduce switch/case indent 2011-07-01 16:11:15 -07:00
xt_HMARK.c netfilter: xt_HMARK: fix endianness and provide consistent hashing 2020-01-06 08:40:30 +01:00
xt_IDLETIMER.c netfilter: idletimer: Fix trivial lockdep warning 2019-08-05 09:13:22 +02:00
xt_LED.c
xt_LOG.c netfilter: xt_LOG: use CONFIG_IP6_NF_IPTABLES instead of CONFIG_IPV6 2012-03-22 11:50:56 +01:00
xt_NFLOG.c
xt_NFQUEUE.c net:netfilter: use IS_ENABLED 2011-12-16 15:49:52 -05:00
xt_RATEEST.c net,rcu: Convert call_rcu(xt_rateest_free_rcu) to kfree_rcu() 2011-07-20 14:10:19 -07:00
xt_SECMARK.c
xt_TCPMSS.c net:netfilter: use IS_ENABLED 2011-12-16 15:49:52 -05:00
xt_TCPOPTSTRIP.c net:netfilter: use IS_ENABLED 2011-12-16 15:49:52 -05:00
xt_TEE.c netfilter: ip6_route_output() never returns NULL. 2012-02-22 15:30:15 -05:00
xt_TPROXY.c netfilter: ip6_tables: add flags parameter to ipv6_find_hdr() 2020-01-06 08:40:30 +01:00
xt_TRACE.c
xt_addrtype.c net:netfilter: use IS_ENABLED 2011-12-16 15:49:52 -05:00
xt_cluster.c
xt_comment.c
xt_connbytes.c Merge branch 'nf-next' of git://1984.lsi.us.es/net-next 2011-12-25 02:21:45 -05:00
xt_connlabel.c netfilter: add connlabel conntrack extension 2020-01-06 08:40:34 +01:00
xt_connlimit.c netfilter: xt_connlimit: remove revision 0 2020-01-06 08:40:30 +01:00
xt_connmark.c misc: Remove Samsung KNOX VPN sprinkles 2019-08-05 09:12:32 +02:00
xt_conntrack.c
xt_cpu.c
xt_dccp.c
xt_devgroup.c
xt_dscp.c
xt_ecn.c netfilter: xtables: collapse conditions in xt_ecn 2011-12-27 20:45:25 +01:00
xt_esp.c
xt_hashlimit.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
xt_helper.c
xt_hl.c netfilter: Reduce switch/case indent 2011-07-01 16:11:15 -07:00
xt_iprange.c
xt_ipvs.c
xt_length.c
xt_limit.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
xt_mac.c
xt_mark.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
xt_multiport.c
xt_nat.c netfilter: ipv6: add IPv6 NAT support 2020-01-06 08:40:33 +01:00
xt_nfacct.c netfilter: xtables: add nfacct match to support extended accounting 2011-12-25 02:43:17 +01:00
xt_osf.c
xt_owner.c
xt_physdev.c
xt_pkttype.c
xt_policy.c
xt_qtaguid.c netfilter: ip6_tables: add flags parameter to ipv6_find_hdr() 2020-01-06 08:40:30 +01:00
xt_qtaguid_internal.h netfilter: xt_qtaguid: extend iface stat to report protocols 2013-08-02 17:09:22 -07:00
xt_qtaguid_print.c netfilter: xt_qtaguid: extend iface stat to report protocols 2013-08-02 17:09:22 -07:00
xt_qtaguid_print.h netfilter: add xt_qtaguid matching module 2012-04-09 13:57:56 -07:00
xt_quota.c net: Fix files explicitly needing to include module.h 2011-10-31 19:30:28 -04:00
xt_quota2.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
xt_rateest.c netfilter: xt_rateest: fix xt_rateest_mt_checkentry() 2011-07-29 16:24:46 +02:00
xt_realm.c
xt_recent.c
xt_repldata.h
xt_sctp.c
xt_set.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
xt_socket.c netfilter: ip6_tables: add flags parameter to ipv6_find_hdr() 2020-01-06 08:40:30 +01:00
xt_state.c
xt_statistic.c net: Fix files explicitly needing to include module.h 2011-10-31 19:30:28 -04:00
xt_string.c
xt_tcpmss.c
xt_tcpudp.c
xt_time.c
xt_u32.c