projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wifi: cfg80211: fix regulatory disconnect for non-MLO
[platform/kernel/linux-starfive.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index
577079a
..
c2e0a22
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-2890,7
+2890,7
@@
static int do_recvmmsg(int fd, struct mmsghdr __user *mmsg,
* error to return on the next call or if the
* app asks about it using getsockopt(SO_ERROR).
*/
-
sock->sk->sk_err = -err
;
+
WRITE_ONCE(sock->sk->sk_err, -err)
;
}
out_put:
fput_light(sock->file, fput_needed);