Files
kernel_arpi/net/ipv6
Eric Dumazet 58d607d3e5 tcp: provide skb->hash to synack packets
In commit b73c3d0e4f ("net: Save TX flow hash in sock and set in skbuf
on xmit"), Tom provided a l4 hash to most outgoing TCP packets.

We'd like to provide one as well for SYNACK packets, so that all packets
of a given flow share same txhash, to later enable bonding driver to
also use skb->hash to perform slave selection.

Note that a SYNACK retransmit shuffles the tx hash, as Tom did
in commit 265f94ff54 ("net: Recompute sk_txhash on negative routing
advice") for established sockets.

This has nice effect making TCP flows resilient to some kind of black
holes, even at connection establish phase.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <tom@herbertland.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 21:01:04 -07:00
..
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2015-05-03 21:58:01 -04:00
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
2015-09-09 17:21:01 -07:00
2015-02-28 16:56:51 -05:00
2015-08-17 14:34:48 -07:00