VirtualBox

Changeset 30810 in vbox


Ignore:
Timestamp:
Jul 14, 2010 6:57:01 AM (15 years ago)
Author:
vboxsync
Message:

vboxnetflt: Confirmed RHEL GRO fix (#5121)

File:
1 edited

Legend:

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

    r30785 r30810  
    14421442         * mac header. We need to restore it back.
    14431443         */
    1444 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
    1445         pSkb->mac_len = pSkb->network_header - pSkb->mac_header;
    1446 #else
    1447         pSkb->mac_len = pSkb->nh.raw - pSkb->data;
    1448 #endif
     1444        pSkb->mac_len = skb_network_header(pSkb) - skb_mac_header(pSkb);
    14491445        skb_push(pSkb, pSkb->mac_len);
    14501446        Log5(("vboxNetFltLinuxCanForwardAsGso: mac_len=%d data=%p mac_header=%p network_header=%p\n",
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