VirtualBox

Changeset 28060 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Apr 7, 2010 6:45:45 PM (15 years ago)
Author:
vboxsync
Message:

DrvIntNet.cpp: GSO bug fix.

File:
1 edited

Legend:

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

    r28037 r28060  
    506506                         * emulate any NICs with large receive offload (LRO).
    507507                         */
    508                         PCPDMNETWORKGSO     pGso = INTNETHdrGetGsoContext(pHdr, pBuf);
     508                        PCPDMNETWORKGSO pGso = INTNETHdrGetGsoContext(pHdr, pBuf);
    509509                        if (PDMNetGsoIsValid(pGso, cbFrame, cbFrame - sizeof(PDMNETWORKGSO)))
    510510                        {
     511                            cbFrame -= sizeof(PDMNETWORKGSO);
     512
    511513                            uint8_t         abHdrScratch[256];
    512514                            uint32_t const  cSegs = PDMNetGsoCalcSegmentCount(pGso, cbFrame);
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