From 9ce46fa4ce9e8d69727b41a98e0e5d238c2566bb9c5620351b384c4d369f5d4c Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 31 Oct 2019 23:57:57 +0000 Subject: [PATCH] Accepting request 744598 from home:lwfinger:branches:Virtualization Further changes to fixes_for_5.2.patch OBS-URL: https://build.opensuse.org/request/show/744598 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=518 --- fixes_for_5.4.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fixes_for_5.4.patch b/fixes_for_5.4.patch index 9d61554..02dd4bd 100644 --- a/fixes_for_5.4.patch +++ b/fixes_for_5.4.patch @@ -6,7 +6,7 @@ Index: VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux. for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++) { skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i]; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || OPENSUSE_152 ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152) + pSG->aSegs[iSeg].cb = pFrag->bv_len; + pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset; +#else @@ -20,7 +20,7 @@ Index: VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux. for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++) { skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i]; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || OPENSUSE_152 ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152) + pSG->aSegs[iSeg].cb = pFrag->bv_len; + pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset; +#else