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

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

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