Changes in / [d37d500e:bae2a79e] in mainline
- Location:
- uspace/srv/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/sock.c
rd37d500e rbae2a79e 89 89 socket = (tcp_sockdata_t *)sock_core->specific_data; 90 90 (void)socket; 91 92 /* XXX We need to initiate connection cleanup here */93 91 } 94 92 … … 837 835 } 838 836 } 839 840 /* Clean up */841 log_msg(LVL_DEBUG, "tcp_sock_connection: Clean up");842 async_hangup(client.sess);843 socket_cores_release(NULL, &client.sockets, &gsock, tcp_free_sock_data);844 837 } 845 838 -
uspace/srv/net/udp/sock.c
rd37d500e rbae2a79e 85 85 86 86 socket = (udp_sockdata_t *)sock_core->specific_data; 87 assert(socket->assoc != NULL); 88 udp_uc_destroy(socket->assoc); 87 (void)socket; 89 88 } 90 89 … … 514 513 fibril_mutex_lock(&socket->lock); 515 514 515 assert(socket->assoc != NULL); 516 udp_uc_destroy(socket->assoc); 517 516 518 rc = socket_destroy(NULL, socket_id, &client->sockets, &gsock, 517 519 udp_free_sock_data); … … 597 599 } 598 600 } 599 600 /* Clean up */601 log_msg(LVL_DEBUG, "udp_sock_connection: Clean up");602 async_hangup(client.sess);603 socket_cores_release(NULL, &client.sockets, &gsock, udp_free_sock_data);604 601 } 605 602
Note:
See TracChangeset
for help on using the changeset viewer.