]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: hash net ptr into fragmentation bucket selection
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Wed, 25 Mar 2015 16:07:44 +0000 (17:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2015 18:07:04 +0000 (14:07 -0400)
commit5fcce0908a6206246b9cbc4e06c7863c5b7c59d6
treef0374d5535a6670c1cb453cc6c0e15237e108376
parent6d9c41356faf88d1dc737d7d5e45b9f15b81e920
ipv4: hash net ptr into fragmentation bucket selection

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>
drivers/net/ppp/pptp.c
include/net/ip.h
net/ipv4/igmp.c
net/ipv4/ip_output.c
net/ipv4/ip_tunnel_core.c
net/ipv4/ipmr.c
net/ipv4/raw.c
net/ipv4/route.c
net/ipv4/xfrm4_mode_tunnel.c
net/netfilter/ipvs/ip_vs_xmit.c