Created
October 24, 2017 16:08
-
-
Save jayluxferro/8b6f9f457082b8d148d9d6b681475622 to your computer and use it in GitHub Desktop.
VMWare workstation 12.5.7 kernel 4.13 atomic_inc patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur vmnet-only.orig/bridge.c vmnet-only/bridge.c | |
--- vmnet-only/bridge.c 2017-06-26 22:08:39.148034785 +1000 | |
+++ vmnet-only/bridge.c 2017-07-16 11:37:01.325802125 +1000 | |
@@ -636,7 +636,7 @@ | |
unsigned long flags; | |
int i; | |
- atomic_inc(&clone->users); | |
+ clone = skb_get(clone); | |
clone->dev = dev; | |
clone->protocol = eth_type_trans(clone, dev); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment