net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
authorEric Dumazet <edumazet@google.com>
Fri, 28 Jul 2023 15:03:14 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jul 2023 17:13:41 +0000 (18:13 +0100)
commitb4b553253091cafe9ec38994acf42795e073bef5
tree8149333f6be70eb6a825d9fa53f085c2cbd31171
parent74bc084327c643499474ba75df485607da37dd6e
net: add missing READ_ONCE(sk->sk_rcvbuf) annotation

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

Fixes: ebb3b78db7bf ("tcp: annotate sk->sk_rcvbuf lockless reads")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c