Files
twx-linux/include/net
Eric Dumazet 4e8e9fd6a3 net: prevent load/store tearing on sk->sk_stamp
[ Upstream commit f75359f3ac ]

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: 3a0ed3e961 ("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:16:11 +01:00
..
2019-05-08 07:19:07 +02:00
2018-09-29 03:07:30 -07:00
2019-03-23 13:19:44 +01:00
2019-02-23 09:05:59 +01:00
2018-10-18 09:13:21 +02:00
2017-06-07 12:07:46 +02:00
2019-11-10 11:23:31 +01:00
2019-03-13 14:04:53 -07:00
2018-05-16 10:08:41 +02:00
2018-02-25 11:05:48 +01:00
2017-07-21 07:42:18 +02:00
2019-09-16 08:19:32 +02:00