Changes in / [d37d500e:bae2a79e] in mainline


Ignore:
Location:
uspace/srv/net
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/sock.c

    rd37d500e rbae2a79e  
    8989        socket = (tcp_sockdata_t *)sock_core->specific_data;
    9090        (void)socket;
    91 
    92         /* XXX We need to initiate connection cleanup here */
    9391}
    9492
     
    837835                }
    838836        }
    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);
    844837}
    845838
  • uspace/srv/net/udp/sock.c

    rd37d500e rbae2a79e  
    8585
    8686        socket = (udp_sockdata_t *)sock_core->specific_data;
    87         assert(socket->assoc != NULL);
    88         udp_uc_destroy(socket->assoc);
     87        (void)socket;
    8988}
    9089
     
    514513        fibril_mutex_lock(&socket->lock);
    515514
     515        assert(socket->assoc != NULL);
     516        udp_uc_destroy(socket->assoc);
     517
    516518        rc = socket_destroy(NULL, socket_id, &client->sockets, &gsock,
    517519            udp_free_sock_data);
     
    597599                }
    598600        }
    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);
    604601}
    605602
Note: See TracChangeset for help on using the changeset viewer.