Changeset 85582 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 31, 2020 4:38:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r82968 r85582 212 212 #endif 213 213 214 #if defined(CONFIG_SUSE_VERSION) 215 # if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2 216 # define OPENSUSE_152 217 # endif 218 #endif 214 219 215 220 /********************************************************************************************************************************* … … 925 930 { 926 931 skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i]; 927 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) 932 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152) 928 933 pSG->aSegs[iSeg].cb = pFrag->bv_len; 929 934 pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset; … … 946 951 { 947 952 skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i]; 948 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) 953 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152) 949 954 pSG->aSegs[iSeg].cb = pFrag->bv_len; 950 955 pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
Note:
See TracChangeset
for help on using the changeset viewer.