aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-24 00:54:23 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:05:45 -0400
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 02af05ec23a..ef29cef1daf 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)
34 dccp_v4_send_reset(sk, DCCP_RESET_CODE_CLOSED); 34 dccp_v4_send_reset(sk, DCCP_RESET_CODE_CLOSED);
35 dccp_fin(sk, skb); 35 dccp_fin(sk, skb);
36 dccp_set_state(sk, DCCP_CLOSED); 36 dccp_set_state(sk, DCCP_CLOSED);
37 sk_wake_async(sk, 1, POLL_HUP);
37} 38}
38 39
39static void dccp_rcv_closereq(struct sock *sk, struct sk_buff *skb) 40static void dccp_rcv_closereq(struct sock *sk, struct sk_buff *skb)