Changeset 30785 in vbox
- Timestamp:
- Jul 12, 2010 9:57:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r30771 r30785 1442 1442 * mac header. We need to restore it back. 1443 1443 */ 1444 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) 1444 1445 pSkb->mac_len = pSkb->network_header - pSkb->mac_header; 1446 #else 1447 pSkb->mac_len = pSkb->nh.raw - pSkb->data; 1448 #endif 1445 1449 skb_push(pSkb, pSkb->mac_len); 1446 1450 Log5(("vboxNetFltLinuxCanForwardAsGso: mac_len=%d data=%p mac_header=%p network_header=%p\n",
Note:
See TracChangeset
for help on using the changeset viewer.