diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2017-05-24 01:10:54 +0200 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2017-05-24 01:10:54 +0200 |
commit | 9a41d0c3db28fb44493720e49e81384943611b0d (patch) | |
tree | 67f0808a279d753dfce72873d3bf5ed232315caa /app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch | |
parent | app-emulation/vmware-modules: add support to kernel 4.11 (diff) | |
download | vmware-9a41d0c3db28fb44493720e49e81384943611b0d.tar.gz vmware-9a41d0c3db28fb44493720e49e81384943611b0d.tar.bz2 vmware-9a41d0c3db28fb44493720e49e81384943611b0d.zip |
Fix support to kernel 4.9 and add 4.10 and 4.11 for old =vmware-modules-304
Diffstat (limited to 'app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch')
-rw-r--r-- | app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch b/app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch new file mode 100644 index 0000000..7218d27 --- /dev/null +++ b/app-emulation/vmware-modules/files/304-4.11-01-vsock-lockdep.patch @@ -0,0 +1,21 @@ +--- vsock-only/linux/af_vsock.c 2017-05-21 00:58:02.900776185 +0200 ++++ vsock-only/linux/af_vsock.c.new 2017-05-21 00:57:18.932773727 +0200 +@@ -213,7 +213,7 @@ + struct sockaddr *addr, int addrLen, int flags); + static int VSockVmciStreamConnect(struct socket *sock, + struct sockaddr *addr, int addrLen, int flags); +-static int VSockVmciAccept(struct socket *sock, struct socket *newsock, int flags); ++static int VSockVmciAccept(struct socket *sock, struct socket *newsock, int flags, bool kern); + static int VSockVmciGetname(struct socket *sock, + struct sockaddr *addr, int *addrLen, int peer); + static unsigned int VSockVmciPoll(struct file *file, +@@ -3772,7 +3772,8 @@ + static int + VSockVmciAccept(struct socket *sock, // IN + struct socket *newsock, // IN/OUT +- int flags) // IN ++ int flags, // IN ++ bool kern) // IN + { + struct sock *listener; + int err; |