diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 955ec152cb71..efb706e1d1c0 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -339,7 +339,7 @@ static void unix_write_space(struct sock *sk) | |||
339 | rcu_read_lock(); | 339 | rcu_read_lock(); |
340 | if (unix_writable(sk)) { | 340 | if (unix_writable(sk)) { |
341 | wq = rcu_dereference(sk->sk_wq); | 341 | wq = rcu_dereference(sk->sk_wq); |
342 | if (wq_has_sleeper(wq)) | 342 | if (skwq_has_sleeper(wq)) |
343 | wake_up_interruptible_sync_poll(&wq->wait, | 343 | wake_up_interruptible_sync_poll(&wq->wait, |
344 | POLLOUT | POLLWRNORM | POLLWRBAND); | 344 | POLLOUT | POLLWRNORM | POLLWRBAND); |
345 | sk_wake_async(sk, SOCK_WAKE_SPACE, POLL_OUT); | 345 | sk_wake_async(sk, SOCK_WAKE_SPACE, POLL_OUT); |