]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: hash net ptr into fragmentation bucket selection
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Wed, 25 Mar 2015 16:07:45 +0000 (17:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2015 18:07:04 +0000 (14:07 -0400)
commitcd16134f8ab8625523cfb6d54648fd4abf42506d
treea6d7355e995fb8c16766fde2cd8ce5ed56b3626a
parent5fcce0908a6206246b9cbc4e06c7863c5b7c59d6
ipv6: 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>
include/net/ipv6.h
net/ipv6/ip6_output.c
net/ipv6/output_core.c
net/ipv6/udp_offload.c