VirtualBox

Changeset 67971 in vbox


Ignore:
Timestamp:
Jul 14, 2017 1:38:11 PM (7 years ago)
Author:
vboxsync
Message:

bugref:8862: DevE1000: fixes

File:
1 edited

Legend:

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

    r64966 r67971  
    40244024    if (cse == 0)
    40254025        cse = u16PktLen - 1;
     4026    else if (cse < css)
     4027    {
     4028        E1kLog2(("%s css(%X) is greater than cse(%X), checksum is not inserted\n",
     4029                 pThis->szPrf, css, cse));
     4030        return;
     4031    }
     4032
    40264033    uint16_t u16ChkSum = e1kCSum16(pPkt + css, cse - css + 1);
    40274034    E1kLog2(("%s Inserting csum: %04X at %02X, old value: %04X\n", pThis->szPrf,
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