Changeset 64197 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
- Timestamp:
- Oct 11, 2016 8:48:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r64196 r64197 91 91 # define VBOX_SKB_KUNMAP_FRAG(vaddr) kunmap_atomic(vaddr) 92 92 #else 93 # define VBOX_SKB_KMAP_FRAG(frag) kmap_skb_frag(frag) 94 # define VBOX_SKB_KUNMAP_FRAG(vaddr) kunmap_skb_frag(vaddr) 93 # if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) 94 # define VBOX_SKB_KMAP_FRAG(frag) kmap_atomic(skb_frag_page(frag), KM_SKB_DATA_SOFTIRQ)) 95 # define VBOX_SKB_KUNMAP_FRAG(vaddr) kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ) 96 # else 97 # define VBOX_SKB_KMAP_FRAG(frag) kmap_atomic(frag->page, KM_SKB_DATA_SOFTIRQ)) 98 # define VBOX_SKB_KUNMAP_FRAG(vaddr) kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ) 99 # endif 95 100 #endif 96 101
Note:
See TracChangeset
for help on using the changeset viewer.