diff options
Diffstat (limited to 'net/dccp/ccids/ccid2.c')
-rw-r--r-- | net/dccp/ccids/ccid2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c index 1c75cd1255f6..92d016e87816 100644 --- a/net/dccp/ccids/ccid2.c +++ b/net/dccp/ccids/ccid2.c | |||
@@ -140,6 +140,9 @@ static void ccid2_hc_tx_rto_expire(struct timer_list *t) | |||
140 | 140 | ||
141 | ccid2_pr_debug("RTO_EXPIRE\n"); | 141 | ccid2_pr_debug("RTO_EXPIRE\n"); |
142 | 142 | ||
143 | if (sk->sk_state == DCCP_CLOSED) | ||
144 | goto out; | ||
145 | |||
143 | /* back-off timer */ | 146 | /* back-off timer */ |
144 | hc->tx_rto <<= 1; | 147 | hc->tx_rto <<= 1; |
145 | if (hc->tx_rto > DCCP_RTO_MAX) | 148 | if (hc->tx_rto > DCCP_RTO_MAX) |