aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/stream.c')
-rw-r--r--net/core/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/stream.c b/net/core/stream.c
index 7d329fb1f553..e94bb02a5629 100644
--- a/net/core/stream.c
+++ b/net/core/stream.c
@@ -32,7 +32,7 @@ void sk_stream_write_space(struct sock *sk)
32 struct socket *sock = sk->sk_socket; 32 struct socket *sock = sk->sk_socket;
33 struct socket_wq *wq; 33 struct socket_wq *wq;
34 34
35 if (sk_stream_is_writeable(sk) && sock) { 35 if (__sk_stream_is_writeable(sk, 1) && sock) {
36 clear_bit(SOCK_NOSPACE, &sock->flags); 36 clear_bit(SOCK_NOSPACE, &sock->flags);
37 37
38 rcu_read_lock(); 38 rcu_read_lock();