]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Multipath hashing on inner L3 needs to consider inner IPv6 pkts
authorStephen Suryaputra <ssuryaextr@gmail.com>
Sat, 6 Jul 2019 14:55:17 +0000 (10:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 23:37:29 +0000 (16:37 -0700)
commitd9c31138bc9032c2f3bc13b03a9396d67e8fe4a5
tree6682d5ea1e89a729bac348df03092808555f827a
parentb530c462fb63bd422946b5cd1b1c6eaa563e55d7
ipv4: Multipath hashing on inner L3 needs to consider inner IPv6 pkts

Commit 689ee9700f5e ("ipv4: Support multipath hashing on inner IP pkts
for GRE tunnel") supports multipath policy value of 2, Layer 3 or inner
Layer 3 if present, but it only considers inner IPv4. There is a use
case of IPv6 is tunneled by IPv4 GRE, thus add the ability to hash on
inner IPv6 addresses.

Fixes: 689ee9700f5e ("ipv4: Support multipath hashing on inner IP pkts for GRE tunnel")
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c