VirtualBox

Ignore:
Timestamp:
Jul 2, 2013 12:59:56 PM (11 years ago)
Author:
vboxsync
Message:

IntNet, VirtioNet, NetFilter: Large frame support + drop oversized + UFO fix (#6821)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetUDP.cpp

    r44529 r46904  
    6262    PCINTNETHDR pHdr = IntNetRingGetNextFrameToRead(&pBuf->Recv);
    6363    if (    !pHdr
    64         ||  (   pHdr->u16Type != INTNETHDR_TYPE_FRAME
    65              && pHdr->u16Type != INTNETHDR_TYPE_GSO))
     64        ||  (   pHdr->u8Type != INTNETHDR_TYPE_FRAME
     65             && pHdr->u8Type != INTNETHDR_TYPE_GSO))
    6666        return NULL;
    6767
     
    6969    const void     *pvFrame = IntNetHdrGetFramePtr(pHdr, pBuf);
    7070    PCPDMNETWORKGSO pGso    = NULL;
    71     if (pHdr->u16Type == INTNETHDR_TYPE_GSO)
     71    if (pHdr->u8Type == INTNETHDR_TYPE_GSO)
    7272    {
    7373        pGso = (PCPDMNETWORKGSO)pvFrame;
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