Changeset e1c6dde9 in mainline


Ignore:
Timestamp:
2011-12-16T18:37:01Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
415578ef
Parents:
ab9378b4
Message:

Add one reference for being in connection map.

File:
1 edited

Legend:

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

    rab9378b4 re1c6dde9  
    221221void tcp_conn_add(tcp_conn_t *conn)
    222222{
     223        tcp_conn_addref(conn);
    223224        fibril_mutex_lock(&conn_list_lock);
    224225        list_append(&conn->link, &conn_list);
     
    235236        list_remove(&conn->link);
    236237        fibril_mutex_unlock(&conn_list_lock);
     238        tcp_conn_delref(conn);
    237239}
    238240
Note: See TracChangeset for help on using the changeset viewer.