Changeset 2c4bb828 in mainline for uspace/srv/net/tcp/ucall.c
- Timestamp:
- 2015-06-03T15:53:12Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ede059
- Parents:
- 8d48c7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/ucall.c
r8d48c7e r2c4bb828 336 336 } 337 337 338 tcp_conn_lock(conn); 339 340 if (conn->cstate == st_closed) { 341 log_msg(LOG_DEFAULT, LVL_WARN, "Connection is closed."); 342 tcp_unexpected_segment(epp, seg); 343 tcp_conn_unlock(conn); 344 tcp_conn_delref(conn); 345 return; 346 } 347 348 if (inet_addr_is_any(&conn->ident.remote.addr)) 349 conn->ident.remote.addr = epp->remote.addr; 350 351 if (conn->ident.remote.port == inet_port_any) 352 conn->ident.remote.port = epp->remote.port; 353 354 if (inet_addr_is_any(&conn->ident.local.addr)) 355 conn->ident.local.addr = epp->local.addr; 356 357 tcp_conn_segment_arrived(conn, seg); 358 359 tcp_conn_unlock(conn); 338 tcp_conn_segment_arrived(conn, epp, seg); 360 339 tcp_conn_delref(conn); 361 340 }
Note:
See TracChangeset
for help on using the changeset viewer.