Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / net / dccp / ccids / ccid2.c
index 67164bb..eaa9d3e 100644 (file)
@@ -140,6 +140,9 @@ static void ccid2_hc_tx_rto_expire(unsigned long data)
 
        ccid2_pr_debug("RTO_EXPIRE\n");
 
+       if (sk->sk_state == DCCP_CLOSED)
+               goto out;
+
        /* back-off timer */
        hc->tx_rto <<= 1;
        if (hc->tx_rto > DCCP_RTO_MAX)