Changeset a8a13d0 in mainline


Ignore:
Timestamp:
2010-03-08T22:15:36Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3be62bc
Parents:
31c80a5
Message:
  • udp and tcp application phones cleanup fix, * tcp retransmit disabled
Location:
uspace/srv/net/tl
Files:
2 edited

Legend:

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

    r31c80a5 ra8a13d0  
    12411241        }
    12421242
     1243        // release the application phone
     1244        ipc_hangup(app_phone);
     1245
    12431246        printf("release\n");
    12441247        // release all local sockets
     
    12771280                                        // TODO release as connection lost
    12781281                                        //tcp_refresh_socket_data(socket_data);
     1282                                        fibril_rwlock_write_unlock(socket_data->local_lock);
    12791283                                }else{
    12801284                                        // retransmit
    1281                                         tcp_retransmit_packet(socket, socket_data, timeout->sequence_number);
    1282                                 }
    1283                                 fibril_rwlock_write_unlock(socket_data->local_lock);
     1285//                                      tcp_retransmit_packet(socket, socket_data, timeout->sequence_number);
     1286                                        fibril_rwlock_write_unlock(socket_data->local_lock);
     1287                                }
    12841288                        }else{
    12851289                                fibril_mutex_lock(&socket_data->operation.mutex);
  • uspace/srv/net/tl/udp/udp.c

    r31c80a5 ra8a13d0  
    508508        }
    509509
     510        // release the application phone
     511        ipc_hangup(app_phone);
     512
    510513        // release all local sockets
    511514        socket_cores_release(udp_globals.net_phone, &local_sockets, &udp_globals.sockets, NULL);
Note: See TracChangeset for help on using the changeset viewer.