]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2023 13:13:51 +0000 (15:13 +0200)
commit0d1047b77b237d36dedb88581582fd0bf92a02dc
tree15a271e3b166977e0c522748754b3c74dd73db7d
parent6c058a1f67f0b2cbc22dedb05b02e1555d6d19b6
net: add missing READ_ONCE(sk->sk_rcvlowat) annotation

[ 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>
net/core/sock.c