summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2020-04-12 21:40:51 +0200
committerFabio Rossi <rossi.f@inwind.it>2020-04-12 21:40:51 +0200
commit8f25a120312a9cf7a3c81060e9da2bc3ec4d6bed (patch)
treedbb86f3660dd6916dcc12ff843bf08dcf3a43ceb /app-emulation/vmware-modules/files/308-5.06-02-timeval.patch
parentapp-emulation/vmware-modules: changes for kernel 5.5 (diff)
downloadvmware-8f25a120312a9cf7a3c81060e9da2bc3ec4d6bed.tar.gz
vmware-8f25a120312a9cf7a3c81060e9da2bc3ec4d6bed.tar.bz2
vmware-8f25a120312a9cf7a3c81060e9da2bc3ec4d6bed.zip
app-emulation/vmware-modules: fixes for kernel 5.6
Added patches to face the following upstream commits: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d56c0d45f0e27f814e87a1676b6bdccccbc252e9 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4bdc0d676a643140bdf17dbf7eafedee3d496a3c https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c766d1472c70d25ad475cf56042af1652e792b23 Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Diffstat (limited to 'app-emulation/vmware-modules/files/308-5.06-02-timeval.patch')
-rw-r--r--app-emulation/vmware-modules/files/308-5.06-02-timeval.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/308-5.06-02-timeval.patch b/app-emulation/vmware-modules/files/308-5.06-02-timeval.patch
new file mode 100644
index 0000000..a075c1f
--- /dev/null
+++ b/app-emulation/vmware-modules/files/308-5.06-02-timeval.patch
@@ -0,0 +1,20 @@
+--- ./vsock-only/linux/af_vsock.c 2020-04-11 17:30:47.815799224 +0200
++++ ./vsock-only/linux/af_vsock.c.new 2020-04-11 18:04:49.565958091 +0200
+@@ -4415,7 +4415,7 @@
+ break;
+
+ case SO_VMCI_CONNECT_TIMEOUT: {
+- struct timeval tv;
++ struct __kernel_old_timeval tv;
+ COPY_IN(tv);
+ if (tv.tv_sec >= 0 && tv.tv_usec < USEC_PER_SEC &&
+ tv.tv_sec < (MAX_SCHEDULE_TIMEOUT/HZ - 1)) {
+@@ -4510,7 +4510,7 @@
+ break;
+
+ case SO_VMCI_CONNECT_TIMEOUT: {
+- struct timeval tv;
++ struct __kernel_old_timeval tv;
+ tv.tv_sec = vsk->connectTimeout / HZ;
+ tv.tv_usec = (vsk->connectTimeout - tv.tv_sec * HZ) * (1000000 / HZ);
+ COPY_OUT(tv);