VirtualBox

Changeset 30785 in vbox


Ignore:
Timestamp:
Jul 12, 2010 9:57:18 AM (15 years ago)
Author:
vboxsync
Message:

vboxnetflt: Applied compilation fix for RHEL provided by Jim.

File:
1 edited

Legend:

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

    r30771 r30785  
    14421442         * mac header. We need to restore it back.
    14431443         */
     1444#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
    14441445        pSkb->mac_len = pSkb->network_header - pSkb->mac_header;
     1446#else
     1447        pSkb->mac_len = pSkb->nh.raw - pSkb->data;
     1448#endif
    14451449        skb_push(pSkb, pSkb->mac_len);
    14461450        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