projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-2.6-block.git]
/
net
/
unix
/
af_unix.c
diff --git
a/net/unix/af_unix.c
b/net/unix/af_unix.c
index dc16515417232787a2ff769ec382307d967e1941..fa906ec5e657b6648ec6add6fadf6adc25ed28e6 100644
(file)
--- a/
net/unix/af_unix.c
+++ b/
net/unix/af_unix.c
@@
-2224,7
+2224,7
@@
static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg,
goto out_err;
}
- if (
sk->sk_shutdown
& SEND_SHUTDOWN)
+ if (
READ_ONCE(sk->sk_shutdown)
& SEND_SHUTDOWN)
goto pipe_err;
while (sent < len) {