VirtualBox

Changeset 48048 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 26, 2013 3:38:58 AM (11 years ago)
Author:
vboxsync
Message:

Use tcpip_callback() wrapper for tcpip_callback_with_block(..., 1).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/VBoxLwipCore.cpp

    r48047 r48048  
    154154    g_LwipCore.userInitClbk.pvUser = pvCallbackArg;
    155155
    156     /* _block mean that we might be blocked on post to mailbox and the last 1 is our
    157      * agreement with this fact
    158      */
    159     lwipRc = tcpip_callback_with_block(lwipCoreUserCallback, &g_LwipCore.userInitClbk, 1);
     156    lwipRc = tcpip_callback(lwipCoreUserCallback, &g_LwipCore.userInitClbk);
    160157    if (lwipRc != ERR_OK)
    161158    {
     
    195192    g_LwipCore.userFiniClbk.pvUser = pvCallbackArg;
    196193   
    197     lwipRc = tcpip_callback_with_block(lwipCoreUserCallback, &g_LwipCore.userFiniClbk, 1);
     194    lwipRc = tcpip_callback(lwipCoreUserCallback, &g_LwipCore.userFiniClbk);
    198195
    199196    if (lwipRc == ERR_OK)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette