aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorfire855 <thefire855@gmail.com>2017-01-05 23:52:53 +0100
committerMister Oyster <oysterized@gmail.com>2017-04-16 15:03:42 +0200
commitf81ee65aedf25f7279cb1023081823e815a6e708 (patch)
treedb634b62ea1f0b442d4cac5e5b26c36b5c821347 /net
parentc382e6cf7d25f7b216f670c739bd490d36f848f2 (diff)
Security patches
Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'net')
-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 fcc61ed68..285546cc2 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -1760,7 +1760,7 @@ restart_locked:
* - unix_peer(sk) == sk by time of get but disconnected before lock
*/
if (other != sk &&
- unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
+ unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
if (timeo) {
timeo = unix_wait_for_peer(other, timeo);