diff options
author | Eric Dumazet <edumazet@google.com> | 2022-05-13 21:55:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-21 16:15:51 +0300 |
commit | b7325b27d8697a64858f673bbaba0741cff740cc (patch) | |
tree | 5e6522ef26dab07eb1d12f95d472fb30b503bc56 /net | |
parent | f7884d95000a01624f6b4010d8eea36d39076f8b (diff) | |
download | linux-b7325b27d8697a64858f673bbaba0741cff740cc.tar.xz |
tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()
[ Upstream commit fdb5fd7f736ec7ae9fb36d2842ea6d9ebc4e7269 ]
inet_request_bound_dev_if() reads sk->sk_bound_dev_if twice
while listener socket is not locked.
Another cpu could change this field under us.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions