Changeset 9362cc2 in mainline for uspace/srv/net/tcp/conn.c


Ignore:
Timestamp:
2015-06-06T15:48:36Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8499160
Parents:
7c15d6f
Message:

Need to set reset flag before changing state, which causes callback function to be called.

File:
1 edited

Legend:

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

    r7c15d6f r9362cc2  
    412412{
    413413        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: tcp_conn_reset()", conn->name);
     414        conn->reset = true;
    414415        tcp_conn_state_set(conn, st_closed);
    415         conn->reset = true;
    416416
    417417        tcp_conn_tw_timer_clear(conn);
Note: See TracChangeset for help on using the changeset viewer.