]> git.baikalelectronics.ru Git - kernel.git/commit
net: Recompute sk_txhash on negative routing advice
authorTom Herbert <tom@herbertland.com>
Tue, 28 Jul 2015 23:02:06 +0000 (16:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 05:44:05 +0000 (22:44 -0700)
commit98e4f5d8aa0e7730d074b7d3a3adf0012edceea2
tree23b4f2c90130092b17f1c560331266cb85cb4a26
parent5b905703954508d21812b0c4c5fd45712e6a3f98
net: Recompute sk_txhash on negative routing advice

When a connection is failing a transport protocol calls
dst_negative_advice to try to get a better route. This patch includes
changing the sk_txhash in that function. This provides a rudimentary
method to try to find a different path in the network since sk_txhash
affects ECMP on the local host and through the network (via flow labels
or UDP source port in encapsulation).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h