Kuniyuki Iwashima
5000b28b0b
tcp: Cleanup duplicate initialization of sk->sk_state.
...
When a TCP socket is created, sk->sk_state is initialized twice as
TCP_CLOSE in sock_init_data() and tcp_init_sock(). The tcp_init_sock() is
always called after the sock_init_data(), so it is not necessary to update
sk->sk_state in the tcp_init_sock().
Before v2.1.8, the code of the two functions was in the inet_create(). In
the patch of v2.1.8, the tcp_v4/v6_init_sock() were added and the code of
initialization of sk->state was duplicated.
Signed-off-by: Kuniyuki Iwashima <kuni1840@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-12-10 17:33:29 -08:00
..
2019-07-06 12:50:01 +02:00
2019-09-27 15:10:34 -07:00
2019-06-19 17:09:55 +02:00
2019-10-24 14:53:49 -07:00
2019-09-24 16:37:18 +02:00
2019-11-22 16:27:24 -08:00
2019-11-06 16:14:48 -08:00
2019-11-03 08:30:58 +01:00
2019-12-01 13:46:15 -08:00
2019-11-18 19:32:59 -08:00
2019-07-12 16:03:16 -07:00
2019-12-03 11:21:20 -08:00
2019-11-02 13:54:56 -07:00
2019-11-13 10:42:34 +01:00
2019-11-27 22:28:37 +01:00
2019-12-07 11:55:11 -08:00
2019-05-30 11:29:52 -07:00
2019-12-04 12:27:12 -08:00
2019-11-06 16:14:48 -08:00
2019-07-10 18:43:43 -07:00
2019-11-23 16:13:39 -08:00
2019-11-07 20:07:30 -08:00
2019-12-05 12:09:02 -08:00
2019-11-02 13:54:56 -07:00
2019-09-26 08:56:17 +02:00
2019-12-10 17:33:29 -08:00
2019-12-04 12:27:13 -08:00
2019-07-29 10:26:14 -07:00
2019-09-27 10:27:14 +02:00
2019-07-08 19:48:57 -07:00
2019-12-04 12:27:12 -08:00
2019-06-23 13:24:17 -07:00
2019-06-17 20:20:36 -07:00
2019-11-06 21:35:34 -08:00
2019-11-27 11:06:20 -08:00
2019-05-30 11:26:41 -07:00
2019-12-04 12:27:13 -08:00
2019-09-19 18:04:40 -07:00
2019-12-06 20:45:09 -08:00
2019-09-01 11:45:02 -07:00
2019-10-13 11:20:03 -07:00
2019-10-24 14:53:48 -07:00
2019-12-04 17:00:58 -08:00
2019-06-19 17:09:55 +02:00
2019-12-04 17:11:25 -08:00
2019-11-08 14:06:19 -08:00
2019-10-28 13:33:41 -07:00
2019-11-26 14:40:13 -08:00
2019-10-30 17:58:23 -07:00
2019-11-16 21:51:42 -08:00
2019-12-01 13:46:15 -08:00
2019-11-06 16:14:48 -08:00
2019-11-25 20:02:57 -08:00
2019-12-07 12:04:16 -08:00
2019-12-09 20:14:01 -08:00
2019-11-16 21:51:42 -08:00
2019-06-22 08:59:24 -04:00
2019-12-07 16:56:00 -08:00
2019-05-30 11:26:32 -07:00
2019-12-10 17:31:15 -08:00
2019-12-06 20:15:39 -08:00
2019-12-01 13:46:15 -08:00
2019-11-30 14:50:51 -08:00
2019-08-10 15:25:47 -07:00
2019-11-08 11:36:48 -08:00
2019-11-06 16:14:48 -08:00
2019-11-24 16:58:44 -08:00
2019-11-25 20:02:57 -08:00
2019-11-15 14:38:29 +01:00
2019-11-21 12:00:21 -08:00
2019-02-28 08:24:23 -07:00
2019-12-08 13:28:11 -08:00
2019-05-21 10:50:45 +02:00