summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-08-16 15:01:14 +0100
committerMark Brown <broonie@kernel.org>2023-08-16 15:01:14 +0100
commit9e6b3986759b5e6d625d6e9e33bdae59f5ed48c1 (patch)
tree80f082707def00d34dc6a35ade01e630197b2455 /net/unix/af_unix.c
parentedff54ac96eb25f01d26cc68923a6dbbb5b2f440 (diff)
parent2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff)
regulator: Get Synquacer testing working
Merge up v6.5-rc6 which has a fix that gets Synquacer netbooting so we can include it in our testing.
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 78585217f61a6..86930a8ed012b 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -790,7 +790,7 @@ static int unix_set_peek_off(struct sock *sk, int val)
if (mutex_lock_interruptible(&u->iolock))
return -EINTR;
- sk->sk_peek_off = val;
+ WRITE_ONCE(sk->sk_peek_off, val);
mutex_unlock(&u->iolock);
return 0;