Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7c15d6f in mainline for uspace/srv/net/tcp/tqueue.c


Ignore:
Timestamp:
2015-06-06T15:20:52Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
9362cc2
Parents:
1ede059
Message:

Never clear timer inside its handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/tqueue.c

    r1ede059 r7c15d6f  
    351351
    352352        /* Reset retransmission timer */
    353         tcp_tqueue_timer_set(tqe->conn);
     353        fibril_timer_set_locked(conn->retransmit.timer, RETRANSMIT_TIMEOUT,
     354            retransmit_timeout_func, (void *) conn);
    354355
    355356        tcp_conn_unlock(conn);
    356         tcp_conn_delref(conn);
    357357
    358358        log_msg(LOG_DEFAULT, LVL_DEBUG, "### %s: retransmit_timeout_func(%p) end", conn->name, conn);
Note: See TracChangeset for help on using the changeset viewer.