VirtualBox

Changeset 28221 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 12, 2010 5:07:27 PM (15 years ago)
Author:
vboxsync
Message:

VBoxNetFlt-linux.c: grumble

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r28219 r28221  
    558558                pPkt->csum_offset = RT_OFFSETOF(RTNETUDP, uh_sum);
    559559# else
    560             pPkt->h.raw = skb->data + pSG->GsoCtx.offHdr2;
     560            pPkt->h.raw = pPkt->data + pSG->GsoCtx.offHdr2;
    561561            if (fGsoType & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))
    562562                pPkt->csum = RT_OFFSETOF(RTNETTCP, th_sum);
     
    895895     */
    896896    skb_reset_mac_header(pSkb);
    897     pSkb->mac_len = pSkb->network_header - pSkb->mac_header;
     897    pSkb->mac_len = pSkb->network_header - pSkb->mac_header; /** @todo fix this compile erorr too! */
    898898
    899899    /*
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