Changeset 5441670 in mainline for uspace/srv/net/tcp/ucall.c
- Timestamp:
- 2014-09-12T13:53:24Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 662ebc8
- Parents:
- 105d8d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/ucall.c
r105d8d6 r5441670 76 76 nconn = tcp_conn_new(lsock, fsock); 77 77 tcp_conn_add(nconn); 78 tcp_conn_lock(nconn); 78 79 79 80 if (acpass == ap_active) { … … 83 84 84 85 if (oflags == tcp_open_nonblock) { 86 tcp_conn_unlock(nconn); 85 87 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_uc_open -> %p", nconn); 86 88 *conn = nconn; … … 90 92 /* Wait for connection to be established or reset */ 91 93 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_uc_open: Wait for connection."); 92 tcp_conn_lock(nconn);93 94 while (nconn->cstate == st_listen || 94 95 nconn->cstate == st_syn_sent ||
Note:
See TracChangeset
for help on using the changeset viewer.