]> asedeno.scripts.mit.edu Git - linux.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)
commit828b2b442145cbe94fe3ca0e34a47f64b0f322ef
tree6682d5ea1e89a729bac348df03092808555f827a
parentfaf5577f2498cea23011b5c785ef853ded22700b
ipv4: Multipath hashing on inner L3 needs to consider inner IPv6 pkts

Commit 363887a2cdfe ("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: 363887a2cdfe ("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