]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/dccp/output.c
[NET]: Name magic constants in sock_wake_async()
[mirror_ubuntu-artful-kernel.git] / net / dccp / output.c
index f49544618f2007857dcf31c59512e5d1d2faca2c..33ce737ef3a8e9405980c468f5b15ba2565d0c4c 100644 (file)
@@ -170,7 +170,7 @@ void dccp_write_space(struct sock *sk)
                wake_up_interruptible(sk->sk_sleep);
        /* Should agree with poll, otherwise some programs break */
        if (sock_writeable(sk))
-               sk_wake_async(sk, 2, POLL_OUT);
+               sk_wake_async(sk, SOCK_WAKE_SPACE, POLL_OUT);
 
        read_unlock(&sk->sk_callback_lock);
 }