Manoj Basapathi
e880f8b3a2
tcp: Reset tcp connections in SYN-SENT state
...
Userspace sends tcp connection (sock) destroy on network switch
i.e switching the default network of the device between multiple
networks(Cellular/Wifi/Ethernet).
Kernel though doesn't send reset for the connections in SYN-SENT state
and these connections continue to remain.
Even as per RFC 793, there is no hard rule to not send RST on ABORT in
this state.
Modify tcp_abort and tcp_disconnect behavior to send RST for connections
in syn-sent state to avoid lingering connections on network switch.
Signed-off-by: Manoj Basapathi <manojbm@codeaurora.org >
Signed-off-by: Sauvik Saha <ssaha@codeaurora.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-04-06 16:17:20 -07:00
..
2021-03-24 17:52:11 -07:00
2021-03-28 17:56:56 -07:00
2021-03-24 12:48:38 -07:00
2021-02-12 16:40:28 -08:00
2021-01-29 18:24:05 -08:00
2021-03-30 16:54:50 -07:00
2021-03-26 15:14:56 -07:00
2021-02-11 14:59:01 -08:00
2021-03-26 20:41:52 -07:00
2021-01-27 17:04:12 -08:00
2021-03-25 15:31:22 -07:00
2021-02-15 13:21:48 -08:00
2021-03-20 20:21:35 +01:00
2021-03-25 17:05:07 -07:00
2021-04-05 14:49:40 -07:00
2021-01-27 17:03:52 -08:00
2021-03-18 11:19:23 -07:00
2021-03-30 16:54:50 -07:00
2021-01-27 17:04:12 -08:00
2021-03-25 17:05:08 -07:00
2021-03-18 19:51:12 -07:00
2021-03-31 14:15:23 -07:00
2021-03-18 19:13:41 -07:00
2021-04-05 14:49:40 -07:00
2021-01-27 17:04:12 -08:00
2021-04-06 16:17:20 -07:00
2021-04-05 12:50:04 -07:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2021-01-04 10:05:50 +01:00
2021-03-22 13:17:49 -07:00
2021-03-28 17:56:55 -07:00
2021-03-23 14:14:50 -07:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2020-11-07 10:40:56 -08:00
2021-03-09 16:12:20 -08:00
2021-04-02 14:21:50 -07:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:14 -07:00
2021-03-28 17:56:55 -07:00
2021-02-12 16:31:46 -08:00
2020-08-23 17:36:59 -05:00
2021-04-05 12:58:31 -07:00
2020-06-14 01:57:21 +09:00
2021-04-04 01:43:02 -07:00
2021-03-24 17:52:11 -07:00
2020-08-23 17:36:59 -05:00
2021-03-14 15:00:43 -07:00
2021-03-31 14:32:20 -07:00
2021-03-28 17:52:50 -07:00
2020-12-11 12:47:17 +01:00
2021-03-10 12:45:15 -08:00
2021-02-12 16:42:05 -08:00
2021-03-25 15:31:22 -07:00
2021-03-28 17:52:50 -07:00
2021-04-01 15:52:38 -07:00
2021-03-16 10:22:50 -07:00
2021-02-14 17:38:11 -08:00
2021-04-05 12:51:34 -07:00
2021-04-01 10:56:14 -07:00
2021-01-24 14:27:18 +01:00
2021-03-28 17:52:51 -07:00
2021-04-05 14:49:40 -07:00
2021-03-28 17:31:13 -07:00
2021-03-10 01:06:34 +01:00
2021-03-28 17:31:14 -07:00
2020-10-03 00:02:13 -04:00
2020-06-30 15:57:34 -07:00
2021-03-19 13:38:46 -07:00
2021-01-27 17:03:52 -08:00
2021-03-25 16:56:27 -07:00