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

Changeset 0a1e7e4 in mainline


Ignore:
Timestamp:
2017-09-11T17:43:53Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
9520af7
Parents:
9713b0b
Message:

Connection can still be mapped when being deleted, must be unmapped before it is freed.

File:
1 edited

Legend:

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

    r9713b0b r0a1e7e4  
    206206{
    207207        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: tcp_conn_free(%p)", conn->name, conn);
     208
     209        assert(conn->mapped == false);
    208210        tcp_tqueue_fini(&conn->retransmit);
    209211
     
    283285        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: tcp_conn_delete(%p)", conn->name, conn);
    284286
    285         assert(conn->mapped == false);
    286287        assert(conn->deleted == false);
    287288        conn->deleted = true;
Note: See TracChangeset for help on using the changeset viewer.