Changeset 0d520a2 in mainline
- Timestamp:
- 2012-04-20T09:48:56Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50b581d, d37d500e
- Parents:
- 606c369
- Location:
- uspace/srv/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/sock.c
r606c369 r0d520a2 89 89 socket = (tcp_sockdata_t *)sock_core->specific_data; 90 90 (void)socket; 91 92 /* XXX We need to initiate connection cleanup here */ 91 93 } 92 94 … … 835 837 } 836 838 } 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); 837 844 } 838 845 -
uspace/srv/net/udp/sock.c
r606c369 r0d520a2 85 85 86 86 socket = (udp_sockdata_t *)sock_core->specific_data; 87 (void)socket; 87 assert(socket->assoc != NULL); 88 udp_uc_destroy(socket->assoc); 88 89 } 89 90 … … 513 514 fibril_mutex_lock(&socket->lock); 514 515 515 assert(socket->assoc != NULL);516 udp_uc_destroy(socket->assoc);517 518 516 rc = socket_destroy(NULL, socket_id, &client->sockets, &gsock, 519 517 udp_free_sock_data); … … 599 597 } 600 598 } 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); 601 604 } 602 605
Note:
See TracChangeset
for help on using the changeset viewer.