Files
android_kernel_motorola_sm6225/include/linux
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-06-25 11:49:31 +03:00
…
…
…
…
…
…
…
…
…
…
…
2015-09-15 21:53:24 -07:00
…
…
…
…
…
…
…
…
…
2012-10-08 13:50:20 +10:30
…
2015-08-03 12:01:54 -04:00
…
…
…
2012-12-02 00:05:12 +00:00
…
2009-04-01 08:59:23 -07:00
…
…
2011-03-11 14:25:50 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-09-01 15:52:41 +02:00
…
…
…
…
…
…
…
…
…
2015-09-04 16:54:41 -07:00
2015-02-12 18:54:15 -08:00
…
…
2015-09-08 15:35:28 -07:00
…
…
2010-08-04 11:00:45 +02:00
2014-12-19 22:55:06 +01:00
…
…
…
…
…
…
…
…
2014-11-10 09:27:30 -07:00
…
…
…
…
…
…
…
…
…
2008-01-28 23:21:18 +01:00
…
…
…
2014-01-16 10:23:02 +10:30
…
…
…
…
2015-08-20 10:20:11 +03:00
…
2014-12-31 13:06:50 -05:00
…
…
…
2014-10-09 11:35:48 +03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-06-01 14:33:35 +02:00
…
…
…
…
…
…
…
2015-06-19 15:18:28 +02:00
…
…
2015-09-08 15:35:28 -07:00
2015-09-08 15:35:28 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-09-06 16:27:10 +02:00
…
2011-09-16 19:20:20 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-12-11 15:52:34 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-10-09 22:25:58 -04:00
…
…
…
…
…
…
2014-01-27 21:02:39 -08:00
…
…
…
…
…
…
…
2015-06-25 04:20:04 -04:00
…
2015-09-17 17:18:37 -07:00
2015-09-17 17:18:37 -07:00
…
…
…
…
…
…
2012-12-11 17:22:27 -08:00
2015-07-04 14:04:44 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
…
…
…
…
…
…
…
2015-09-08 15:35:28 -07:00
2014-07-09 14:58:37 +01:00
…
…
…
…
…
…
…
…
2015-06-19 01:18:14 +02:00
…
…
…
…
2013-10-17 00:36:06 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-06-10 19:14:04 +08:00
2010-02-10 17:47:17 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-06-25 01:13:43 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-11 15:53:35 -04:00
…
…
…
…
…
…
…
…
…
…
…
2015-06-25 17:00:40 -07:00
2013-04-30 15:50:12 +05:30
…
…
…
…
…
…
…
2015-09-04 16:54:41 -07:00
2015-06-25 17:00:39 -07:00
…
…
…
…
2015-09-17 21:01:04 -07:00
…
…
…
…
…
…
…
…
…
2010-11-29 08:55:25 +11:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-06-04 16:53:57 -07:00
…
…
…
…
…
…
…
…
…
…
2015-09-08 15:35:28 -07:00
…
…
…
2015-09-10 13:29:01 -07:00
…