]> 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)
commitc6c8f5512076f3f996af2c40099ca708df0104bd
tree23b4f2c90130092b17f1c560331266cb85cb4a26
parent42aa0204099ce181ccd55a4fc0e16b523814a83e
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