VirtualBox

Ignore:
Timestamp:
Oct 11, 2016 10:26:18 AM (8 years ago)
Author:
vboxsync
Message:

NetFlt/Linux (bugref:8599) One more build fix for r111185

File:
1 edited

Legend:

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

    r64201 r64202  
    817817    return pTransportHdr - pBuf->data;
    818818# else /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 21) */
     819#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38)
     820    return pBuf->csum_start - skb_headroom(pBuf)
     821#  else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38) */
    819822    return skb_checksum_start_offset(pBuf);
     823#  endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38) */
    820824# endif /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 21) */
    821825}
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