Changeset 20341 in vbox
- Timestamp:
- Jun 5, 2009 3:03:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r20284 r20341 667 667 */ 668 668 unsigned char *tmp = pBuf->h.raw; 669 if (pBuf->h == pBuf->nh&& pBuf->protocol == htons(ETH_P_IP))670 pBuf->h.raw = pBuf->nh.raw + ((pBuf->nh.raw[0] & 0xF) * 4);669 if (pBuf->h.raw == pBuf->nh.raw && pBuf->protocol == htons(ETH_P_IP)) 670 pBuf->h.raw = pBuf->nh.raw + pBuf->nh.iph->ihl * 4; 671 671 #endif /* LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 18) */ 672 672 if (VBOX_SKB_CHECKSUM_HELP(pBuf))
Note:
See TracChangeset
for help on using the changeset viewer.