git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: Name magic constants in sock_wake_async()
[pandora-kernel.git]
/
net
/
dccp
/
output.c
diff --git
a/net/dccp/output.c
b/net/dccp/output.c
index
f495446
..
33ce737
100644
(file)
--- a/
net/dccp/output.c
+++ b/
net/dccp/output.c
@@
-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);
}