VirtualBox

Changeset 29461 in vbox


Ignore:
Timestamp:
May 14, 2010 11:10:33 AM (15 years ago)
Author:
vboxsync
Message:

Devices/Network/VDE: applied "[vbox-dev] [PATCH] VirtualBox. vde_close was missing..." (07/05/2010, Renzo Davoli)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VDEPlugSymDefs.h

    r29200 r29461  
    6060               (VDECONN *conn,const void *buf,size_t len,int flags), \
    6161               (conn, buf, len, flags)) \
    62  RT_PROXY_STUB(vde_datafd, int, (VDECONN *conn), (conn))
     62 RT_PROXY_STUB(vde_datafd, int, (VDECONN *conn), (conn)) \
     63 RT_PROXY_STUB(vde_close, void, (VDECONN *conn), (conn))
    6364
    6465#ifdef VDEPLUG_GENERATE_HEADER
  • trunk/src/VBox/Devices/Network/DrvVDE.cpp

    r29122 r29461  
    231231        PCPDMNETWORKGSO pGso    = (PCPDMNETWORKGSO)pSgBuf->pvUser;
    232232        uint32_t const  cSegs   = PDMNetGsoCalcSegmentCount(pGso, pSgBuf->cbUsed);  Assert(cSegs > 1);
     233        rc = 0;
    233234        for (size_t iSeg = 0; iSeg < cSegs; iSeg++)
    234235        {
     
    498499        RTCritSectDelete(&pThis->XmitLock);
    499500
     501    vde_close(pThis->vdeconn);
    500502#ifdef VBOX_WITH_STATISTICS
    501503    /*
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