forked from pool/virtualbox
f417cd7c5d
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=395
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
Index: VirtualBox-5.2.4/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
===================================================================
|
|
--- VirtualBox-5.2.4.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
+++ VirtualBox-5.2.4/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
@@ -46,7 +46,7 @@
|
|
typedef struct RTR0SEMLNXWAIT
|
|
{
|
|
/** The wait queue entry. */
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
|
|
wait_queue_entry_t WaitQE;
|
|
#else
|
|
wait_queue_t WaitQE;
|
|
Index: VirtualBox-5.2.4/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
===================================================================
|
|
--- VirtualBox-5.2.4.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
+++ VirtualBox-5.2.4/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
@@ -150,6 +150,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
|
|
# endif
|
|
#endif
|
|
|
|
+# if 1
|
|
+#define SKB_GSO_UDP 0
|
|
+#endif
|
|
+
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
|
|
# define VBOX_HAVE_SKB_VLAN
|
|
#else
|