summaryrefslogtreecommitdiff
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-23 21:54:23 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:05:45 -0700
commit331968bd0c1b2437f3ad773cbf55f2e0737bafc0 (patch)
treeec9c5aeaa5217c8ce009a7e5e07a60c3a390e021 /net/dccp/input.c
parent8efa544f9c84919c047dc2f96e308c902e8fb1a4 (diff)
[DCCP]: Initial dccp_poll implementation
Tested with a patched netcat, no horror stories so far 8) Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r--net/dccp/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c
index 02af05ec23a2..ef29cef1dafe 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -34,6 +34,7 @@ static void dccp_rcv_close(struct sock *sk, struct sk_buff *skb)
dccp_v4_send_reset(sk, DCCP_RESET_CODE_CLOSED);
dccp_fin(sk, skb);
dccp_set_state(sk, DCCP_CLOSED);
+ sk_wake_async(sk, 1, POLL_HUP);
}
static void dccp_rcv_closereq(struct sock *sk, struct sk_buff *skb)