Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899269 Details for
Bug 937445
app-emulation/virtualbox-modules-6.1.50-r1 won't compile with >=kernel-6.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
virtualbox-6.1.50 patch for >=kernel-6.9
virtualbox-6.1.50.patch (text/plain), 2.39 KB, created by
Fabio Cavallo
on 2024-08-06 08:08:15 UTC
(
hide
)
Description:
virtualbox-6.1.50 patch for >=kernel-6.9
Filename:
MIME Type:
Creator:
Fabio Cavallo
Created:
2024-08-06 08:08:15 UTC
Size:
2.39 KB
patch
obsolete
>diff -Ndurp virtualbox-6.1.50.orig/vboxdrv/r0drv/linux/memobj-r0drv-linux.c virtualbox-6.1.50/vboxdrv/r0drv/linux/memobj-r0drv-linux.c >--- virtualbox-6.1.50.orig/vboxdrv/r0drv/linux/memobj-r0drv-linux.c 2024-03-12 09:37:08.000000000 +0100 >+++ virtualbox-6.1.50/vboxdrv/r0drv/linux/memobj-r0drv-linux.c 2024-03-26 07:21:15.507928766 +0100 >@@ -114,6 +114,14 @@ > # define LNX_MM_UP_WRITE(a_pMm) up_write(&(a_pMm)->mmap_sem) > #endif > >+/* >+ * p.._large alias for p.._leaf is gone in 6.9 >+ */ >+#if RTLNX_VER_MIN(6,9,0) >+# define p4d_large p4d_leaf >+# define pmd_large pmd_leaf >+# define pud_large pud_leaf >+#endif > > /********************************************************************************************************************************* > * Structures and Typedefs * >diff -Ndurp virtualbox-6.1.50.orig/vboxnetflt/linux/VBoxNetFlt-linux.c virtualbox-6.1.50/vboxnetflt/linux/VBoxNetFlt-linux.c >--- virtualbox-6.1.50.orig/vboxnetflt/linux/VBoxNetFlt-linux.c 2024-01-15 15:12:11.000000000 +0100 >+++ virtualbox-6.1.50/vboxnetflt/linux/VBoxNetFlt-linux.c 2024-03-26 07:35:37.526491522 +0100 >@@ -926,7 +926,10 @@ static void vboxNetFltLinuxSkBufToSG(PVB > for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++) > { > skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i]; >-# if RTLNX_VER_MIN(5,4,0) || RTLNX_SUSE_MAJ_PREREQ(15, 2) >+# if RTLNX_VER_MIN(6,9,0) >+ pSG->aSegs[iSeg].cb = pFrag->len; >+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->offset; >+# elif RTLNX_VER_MIN(5,4,0) || RTLNX_SUSE_MAJ_PREREQ(15, 2) > pSG->aSegs[iSeg].cb = pFrag->bv_len; > pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset; > # else /* < KERNEL_VERSION(5, 4, 0) */ >@@ -947,7 +950,10 @@ static void vboxNetFltLinuxSkBufToSG(PVB > for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++) > { > skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i]; >-# if RTLNX_VER_MIN(5,4,0) || RTLNX_SUSE_MAJ_PREREQ(15, 2) >+# if RTLNX_VER_MIN(6,9,0) >+ pSG->aSegs[iSeg].cb = pFrag->len; >+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->offset; >+# elif RTLNX_VER_MIN(5,4,0) || RTLNX_SUSE_MAJ_PREREQ(15, 2) > pSG->aSegs[iSeg].cb = pFrag->bv_len; > pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset; > # else /* < KERNEL_VERSION(5, 4, 0) */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 937445
:
899266
|
899267
|
899268
| 899269