Files
kernel_google_wahoo/include/net
Eric Dumazet b575bf8be3 net: prevent load/store tearing on sk->sk_stamp
[ Upstream commit f75359f3ac855940c5718af10ba089b8977bf339 ]

Add a couple of READ_ONCE() and WRITE_ONCE() to prevent
load-tearing and store-tearing in sock_read_timestamp()
and sock_write_timestamp()

This might prevent another KCSAN report.

Fixes: 3a0ed3e96197 ("sock: Make sock->sk_stamp thread-safe")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-12 19:13:31 +01:00
..
2018-09-29 03:08:51 -07:00
2019-03-23 08:44:34 +01:00
2014-09-18 10:54:36 +02:00
2019-02-23 09:05:14 +01:00
2018-10-20 09:52:36 +02:00
2015-03-06 21:50:02 -05:00
2015-09-17 17:18:37 -07:00
2018-02-25 11:03:34 +01:00
2017-06-07 12:05:59 +02:00
2014-09-30 01:02:26 -04:00
2019-03-23 08:44:23 +01:00
2019-03-23 08:44:23 +01:00
2019-02-08 11:25:31 +01:00
2015-10-08 04:27:03 -07:00
2015-10-23 06:26:42 -07:00
2018-05-16 10:06:50 +02:00
2018-02-25 11:03:40 +01:00
2015-03-12 22:58:12 -04:00
2015-10-26 22:24:22 -07:00
2019-09-16 08:13:35 +02:00