Changeset 30810 in vbox
- Timestamp:
- Jul 14, 2010 6:57:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r30785 r30810 1442 1442 * mac header. We need to restore it back. 1443 1443 */ 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); 1449 1445 skb_push(pSkb, pSkb->mac_len); 1450 1446 Log5(("vboxNetFltLinuxCanForwardAsGso: mac_len=%d data=%p mac_header=%p network_header=%p\n",
Note:
See TracChangeset
for help on using the changeset viewer.