Changeset 95592 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 11, 2022 10:32:41 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152228
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet_1_0.cpp
r94976 r95592 1695 1695 pGso->cbHdrsTotal = pPktHdr->uHdrLen; 1696 1696 pGso->cbMaxSeg = pPktHdr->uGsoSize; 1697 /* Mark GSO frames with zero MSS as PDMNETWORKGSOTYPE_INVALID, so they will be ignored by send. */ 1698 if (pPktHdr->uGsoType != VIRTIONET_HDR_GSO_NONE && pPktHdr->uGsoSize == 0) 1699 pGso->u8Type = PDMNETWORKGSOTYPE_INVALID; 1697 1700 return pGso; 1698 1701 } … … 2616 2619 pGso->cbHdrsSeg = pPktHdr->uChksumStart; 2617 2620 break; 2621 case PDMNETWORKGSOTYPE_INVALID: 2622 LogFunc(("%s ignoring invalid GSO frame\n", pThis->szInst)); 2623 return VERR_INVALID_PARAMETER; 2618 2624 } 2619 2625 /* Update GSO structure embedded into the frame */
Note:
See TracChangeset
for help on using the changeset viewer.