X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fdccp%2Foutput.c;h=c96119fda6885fd6b6bdc5487ff5cca7d2dd1574;hb=b57f92157e6517f0b3bd22e3a8ce7227e230c4f5;hp=c0e88c16d0888b5222ca250c01a27bf3078a7e2a;hpb=b069e8ed4d5054b1fcd31a98bb2053bde645202f;p=mv-sheeva.git diff --git a/net/dccp/output.c b/net/dccp/output.c index c0e88c16d08..c96119fda68 100644 --- a/net/dccp/output.c +++ b/net/dccp/output.c @@ -196,7 +196,7 @@ void dccp_write_space(struct sock *sk) { read_lock(&sk->sk_callback_lock); - if (sk->sk_sleep && waitqueue_active(sk->sk_sleep)) + if (sk_has_sleeper(sk)) wake_up_interruptible(sk->sk_sleep); /* Should agree with poll, otherwise some programs break */ if (sock_writeable(sk))