|
@@ -2283,7 +2283,7 @@ static void sock_def_wakeup(struct sock *sk)
|
|
|
|
|
|
rcu_read_lock();
|
|
|
wq = rcu_dereference(sk->sk_wq);
|
|
|
- if (wq_has_sleeper(wq))
|
|
|
+ if (skwq_has_sleeper(wq))
|
|
|
wake_up_interruptible_all(&wq->wait);
|
|
|
rcu_read_unlock();
|
|
|
}
|
|
@@ -2294,7 +2294,7 @@ static void sock_def_error_report(struct sock *sk)
|
|
|
|
|
|
rcu_read_lock();
|
|
|
wq = rcu_dereference(sk->sk_wq);
|
|
|
- if (wq_has_sleeper(wq))
|
|
|
+ if (skwq_has_sleeper(wq))
|
|
|
wake_up_interruptible_poll(&wq->wait, POLLERR);
|
|
|
sk_wake_async(sk, SOCK_WAKE_IO, POLL_ERR);
|
|
|
rcu_read_unlock();
|
|
@@ -2306,7 +2306,7 @@ static void sock_def_readable(struct sock *sk)
|
|
|
|
|
|
rcu_read_lock();
|
|
|
wq = rcu_dereference(sk->sk_wq);
|
|
|
- if (wq_has_sleeper(wq))
|
|
|
+ if (skwq_has_sleeper(wq))
|
|
|
wake_up_interruptible_sync_poll(&wq->wait, POLLIN | POLLPRI |
|
|
|
POLLRDNORM | POLLRDBAND);
|
|
|
sk_wake_async(sk, SOCK_WAKE_WAITD, POLL_IN);
|
|
@@ -2324,7 +2324,7 @@ static void sock_def_write_space(struct sock *sk)
|
|
|
*/
|
|
|
if ((atomic_read(&sk->sk_wmem_alloc) << 1) <= sk->sk_sndbuf) {
|
|
|
wq = rcu_dereference(sk->sk_wq);
|
|
|
- if (wq_has_sleeper(wq))
|
|
|
+ if (skwq_has_sleeper(wq))
|
|
|
wake_up_interruptible_sync_poll(&wq->wait, POLLOUT |
|
|
|
POLLWRNORM | POLLWRBAND);
|
|
|
|