aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r--net/sctp/outqueue.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index 9bcdbd02d777..01dca753db16 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -1700,10 +1700,8 @@ static void sctp_check_transmitted(struct sctp_outq *q,
1700 * address. 1700 * address.
1701 */ 1701 */
1702 if (!transport->flight_size) { 1702 if (!transport->flight_size) {
1703 if (timer_pending(&transport->T3_rtx_timer) && 1703 if (del_timer(&transport->T3_rtx_timer))
1704 del_timer(&transport->T3_rtx_timer)) {
1705 sctp_transport_put(transport); 1704 sctp_transport_put(transport);
1706 }
1707 } else if (restart_timer) { 1705 } else if (restart_timer) {
1708 if (!mod_timer(&transport->T3_rtx_timer, 1706 if (!mod_timer(&transport->T3_rtx_timer,
1709 jiffies + transport->rto)) 1707 jiffies + transport->rto))