]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
authorEric Dumazet <edumazet@google.com>
Fri, 28 Jul 2023 15:03:11 +0000 (15:03 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 30 Oct 2023 10:59:53 +0000 (11:59 +0100)
commit20b4fd073105fe1660d22c635db54b355357a4d8
treeddf1b6602f24804f807eb20aab7cc14ac84b92d7
parent0920e9fd86787f9de983dde31bd00e418be84061
net: add missing READ_ONCE(sk->sk_rcvlowat) annotation

BugLink: https://bugs.launchpad.net/bugs/2038236
[ Upstream commit e6d12bdb435d23ff6c1890c852d85408a2f496ee ]

In a prior commit, I forgot to change sk_getsockopt()
when reading sk->sk_rcvlowat locklessly.

Fixes: eac66402d1c3 ("net: annotate sk->sk_rcvlowat lockless reads")
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/core/sock.c