Changeset 7cf7ded in mainline for uspace/srv/net/tl/tcp/state.c
- Timestamp:
- 2011-11-15T23:50:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f3f6285
- Parents:
- 8218b6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/state.c
r8218b6b r7cf7ded 112 112 log_msg(LVL_DEBUG, "tcp_uc_receive()"); 113 113 114 /* 115 * XXX Handle all states for all user calls properly, return 116 * errors as appropriate. 117 */ 118 if (conn->cstate == st_closed) 119 return; 120 121 114 122 fibril_mutex_lock(&conn->rcv_buf_lock); 115 123 … … 186 194 187 195 conn = tcp_conn_find(sp); 188 if (conn != NULL ) {196 if (conn != NULL && conn->cstate != st_closed) { 189 197 tcp_conn_segment_arrived(conn, seg); 190 198 } else {
Note:
See TracChangeset
for help on using the changeset viewer.