Tariq Toukan
41b14fb872
net: Do not clear the sock TX queue in sk_set_socket()
...
Clearing the sock TX queue in sk_set_socket() might cause unexpected
out-of-order transmit when called from sock_orphan(), as outstanding
packets can pick a different TX queue and bypass the ones already queued.
This is undesired in general. More specifically, it breaks the in-order
scheduling property guarantee for device-offloaded TLS sockets.
Remove the call to sk_tx_queue_clear() in sk_set_socket(), and add it
explicitly only where needed.
Fixes: e022f0b4a0 ("net: Introduce sk_tx_queue_mapping")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com >
Reviewed-by: Boris Pismenny <borisp@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-06-23 20:49:12 -07:00
..
2020-06-14 01:57:21 +09:00
2020-06-20 21:33:57 -07:00
2020-02-24 13:02:53 -08:00
2020-06-13 16:27:13 -07:00
2020-05-18 17:35:02 -07:00
2020-06-13 16:27:13 -07:00
2020-05-24 13:47:27 -07:00
2020-06-09 12:59:45 -07:00
2020-06-03 16:27:18 -07:00
2020-05-19 17:56:34 +02:00
2020-05-26 00:03:16 +09:00
2020-06-23 14:38:05 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-08 12:49:18 -07:00
2020-06-23 20:49:12 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-04-28 14:39:46 -07:00
2020-06-13 16:27:13 -07:00
2020-05-23 16:56:17 -07:00
2020-06-23 20:21:01 -07:00
2020-06-22 20:42:23 -07:00
2020-06-14 01:57:21 +09:00
2019-09-26 08:56:17 +02:00
2020-06-20 21:33:57 -07:00
2020-06-20 21:33:57 -07:00
2020-05-19 12:50:14 -07:00
2020-06-14 01:57:21 +09:00
2019-07-08 19:48:57 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-02-26 20:38:13 -08:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-22 21:06:39 -07:00
2020-06-14 01:57:21 +09:00
2020-06-19 20:12:58 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-09 12:59:45 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-04-27 02:07:40 -04:00
2020-05-23 16:36:05 -07:00
2020-06-14 01:57:21 +09:00
2020-06-15 12:58:59 -07:00
2019-12-16 10:15:49 +01:00
2020-06-09 12:59:45 -07:00
2020-06-20 21:31:43 -07:00
2020-06-20 21:33:57 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2019-06-22 08:59:24 -04:00
2020-06-11 12:22:41 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-05 13:18:26 -07:00
2019-08-10 15:25:47 -07:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-19 13:03:47 -07:00
2020-06-01 12:05:45 -07:00
2020-05-23 16:56:17 -07:00
2020-06-14 01:57:21 +09:00
2020-05-23 16:56:17 -07:00
2020-05-29 13:10:39 -07:00
2019-05-21 10:50:45 +02:00