forked from pool/virtualbox
806003d2a3
- Addresses VUL-0: CVE-2017-10392,CVE-2017-10407,CVE-2017-10408,CVE-2017-3733,CVE-2017-10428 as noted in bsc #1064200 - Fix /sbin/vboxguestconfig.sh to be similar to /sbin/vboxconfig.sh. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=380
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
===================================================================
|
|
--- VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
+++ VirtualBox-5.1.30/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.1.28/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
===================================================================
|
|
--- VirtualBox-5.1.28.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
+++ VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
@@ -124,6 +124,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
|
|
# define bstats stats
|
|
# define qstats stats
|
|
# endif
|
|
+#endif
|
|
+
|
|
+# if 1
|
|
+#define SKB_GSO_UDP 0
|
|
#endif
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
|
|
@@ -722,9 +726,11 @@ static struct sk_buff *vboxNetFltLinuxSk
|
|
case PDMNETWORKGSOTYPE_IPV4_TCP:
|
|
fGsoType = SKB_GSO_TCPV4;
|
|
break;
|
|
+# if 1
|
|
case PDMNETWORKGSOTYPE_IPV4_UDP:
|
|
fGsoType = SKB_GSO_UDP;
|
|
break;
|
|
+#endif
|
|
case PDMNETWORKGSOTYPE_IPV6_TCP:
|
|
fGsoType = SKB_GSO_TCPV6;
|
|
break;
|
|
|