diff options
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 552dbaba9cf3..525acf6dd1c6 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -1492,7 +1492,7 @@ static void tipc_write_space(struct sock *sk) | |||
1492 | 1492 | ||
1493 | rcu_read_lock(); | 1493 | rcu_read_lock(); |
1494 | wq = rcu_dereference(sk->sk_wq); | 1494 | wq = rcu_dereference(sk->sk_wq); |
1495 | if (wq_has_sleeper(wq)) | 1495 | if (skwq_has_sleeper(wq)) |
1496 | wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | | 1496 | wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | |
1497 | POLLWRNORM | POLLWRBAND); | 1497 | POLLWRNORM | POLLWRBAND); |
1498 | rcu_read_unlock(); | 1498 | rcu_read_unlock(); |
@@ -1509,7 +1509,7 @@ static void tipc_data_ready(struct sock *sk) | |||
1509 | 1509 | ||
1510 | rcu_read_lock(); | 1510 | rcu_read_lock(); |
1511 | wq = rcu_dereference(sk->sk_wq); | 1511 | wq = rcu_dereference(sk->sk_wq); |
1512 | if (wq_has_sleeper(wq)) | 1512 | if (skwq_has_sleeper(wq)) |
1513 | wake_up_interruptible_sync_poll(&wq->wait, POLLIN | | 1513 | wake_up_interruptible_sync_poll(&wq->wait, POLLIN | |
1514 | POLLRDNORM | POLLRDBAND); | 1514 | POLLRDNORM | POLLRDBAND); |
1515 | rcu_read_unlock(); | 1515 | rcu_read_unlock(); |