Skip to content

Instantly share code, notes, and snippets.

@clemensg
Created July 4, 2014 13:35
Show Gist options
  • Save clemensg/04fd9971964be4663a2b to your computer and use it in GitHub Desktop.
Save clemensg/04fd9971964be4663a2b to your computer and use it in GitHub Desktop.
VMware Workstation 10.0.3 modules patch on Linux 3.15, apply in addition to http://pastie.org/9090538
diff -ur vsock-only/linux/notify.c ~vsock-only/linux/notify.c
--- vsock-only/linux/notify.c 2014-07-04 15:12:12.286408886 +0200
+++ ~vsock-only/linux/notify.c 2014-07-04 15:13:16.573315661 +0200
@@ -516,7 +516,7 @@
PKT_FIELD(vsk, sentWaitingRead) = FALSE;
#endif
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
diff -ur vsock-only/linux/notifyQState.c ~vsock-only/linux/notifyQState.c
--- vsock-only/linux/notifyQState.c 2014-07-04 15:12:12.286408886 +0200
+++ ~vsock-only/linux/notifyQState.c 2014-07-04 15:13:16.573315661 +0200
@@ -164,7 +164,7 @@
struct sockaddr_vm *dst, // IN: unused
struct sockaddr_vm *src) // IN: unused
{
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
@@ -566,7 +566,7 @@
}
/* See the comment in VSockVmciNotifyPktSendPostEnqueue */
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
return err;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment