Eric Dumazet
00fd38d938
tcp: ensure proper barriers in lockless contexts
...
Some functions access TCP sockets without holding a lock and
might output non consistent data, depending on compiler and or
architecture.
tcp_diag_get_info(), tcp_get_info(), tcp_poll(), get_tcp4_sock() ...
Introduce sk_state_load() and sk_state_store() to fix the issues,
and more clearly document where this lack of locking is happening.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-15 18:36:38 -05:00
..
2015-11-02 22:47:14 -05:00
2015-07-31 15:21:30 -07:00
2015-11-04 23:49:48 -05:00
2015-03-31 13:58:35 -04:00
2015-07-31 17:07:11 -07:00
2015-08-25 13:37:31 -07:00
2015-03-31 13:51:54 -04:00
2015-09-25 13:00:38 -07:00
2015-05-28 11:23:20 +08:00
2015-03-31 13:51:54 -04:00
2015-09-02 15:31:00 -07:00
2015-07-09 15:06:59 -07:00
2015-10-23 02:38:18 -07:00
2015-10-26 21:59:42 -07:00
2015-10-08 04:27:03 -07:00
2015-10-03 04:32:41 -07:00
2015-10-12 19:28:20 -07:00
2014-06-04 22:46:38 -07:00
2015-10-24 06:54:12 -07:00
2015-05-03 21:58:01 -04:00
2015-09-24 15:28:43 -07:00
2014-08-24 22:37:52 -07:00
2015-09-17 17:18:37 -07:00
2015-10-21 19:36:11 -07:00
2012-11-15 17:39:24 -05:00
2015-11-01 12:01:28 -05:00
2015-09-24 16:08:37 -07:00
2015-08-29 13:07:54 -07:00
2015-10-08 04:26:54 -07:00
2015-10-08 04:26:54 -07:00
2014-08-24 22:37:52 -07:00
2015-03-31 13:51:54 -04:00
2015-08-17 21:33:06 -07:00
2015-08-17 21:33:06 -07:00
2015-08-13 17:08:39 -07:00
2015-10-08 04:26:54 -07:00
2015-10-05 03:16:47 -07:00
2015-10-13 04:55:08 -07:00
2015-09-29 20:21:32 +02:00
2015-10-08 04:27:02 -07:00
2015-03-09 23:38:02 -04:00
2014-11-07 15:45:50 -05:00
2014-09-19 17:15:31 -04:00
2015-10-08 04:26:54 -07:00
2015-11-02 22:47:14 -05:00
2015-11-15 17:12:37 -05:00
2015-11-02 22:54:45 -05:00
2015-10-12 19:28:22 -07:00
2015-07-31 17:07:11 -07:00
2015-11-15 18:36:38 -05:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2015-03-02 13:06:31 -05:00
2015-03-25 14:07:04 -04:00
2015-10-12 19:28:20 -07:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2015-03-31 13:58:35 -04:00
2013-12-06 12:37:56 -05:00
2007-10-10 16:55:54 -07:00
2015-08-11 12:41:34 +02:00
2015-10-24 06:54:12 -07:00
2015-10-30 20:51:56 +09:00
2014-05-06 07:08:38 +02:00
2014-08-24 22:37:52 -07:00
2014-08-24 22:37:52 -07:00