diff options
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r-- | net/dccp/proto.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 60f40ec72ff3..8a73c8f98d76 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
@@ -996,24 +996,6 @@ adjudge_to_death: | |||
996 | if (state != DCCP_CLOSED && sk->sk_state == DCCP_CLOSED) | 996 | if (state != DCCP_CLOSED && sk->sk_state == DCCP_CLOSED) |
997 | goto out; | 997 | goto out; |
998 | 998 | ||
999 | /* | ||
1000 | * The last release_sock may have processed the CLOSE or RESET | ||
1001 | * packet moving sock to CLOSED state, if not we have to fire | ||
1002 | * the CLOSE/CLOSEREQ retransmission timer, see "8.3. Termination" | ||
1003 | * in draft-ietf-dccp-spec-11. -acme | ||
1004 | */ | ||
1005 | if (sk->sk_state == DCCP_CLOSING) { | ||
1006 | /* FIXME: should start at 2 * RTT */ | ||
1007 | /* Timer for repeating the CLOSE/CLOSEREQ until an answer. */ | ||
1008 | inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, | ||
1009 | inet_csk(sk)->icsk_rto, | ||
1010 | DCCP_RTO_MAX); | ||
1011 | #if 0 | ||
1012 | /* Yeah, we should use sk->sk_prot->orphan_count, etc */ | ||
1013 | dccp_set_state(sk, DCCP_CLOSED); | ||
1014 | #endif | ||
1015 | } | ||
1016 | |||
1017 | if (sk->sk_state == DCCP_CLOSED) | 999 | if (sk->sk_state == DCCP_CLOSED) |
1018 | inet_csk_destroy_sock(sk); | 1000 | inet_csk_destroy_sock(sk); |
1019 | 1001 | ||