summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch')
-rw-r--r--app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch b/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch
new file mode 100644
index 0000000..0a1d835
--- /dev/null
+++ b/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch
@@ -0,0 +1,11 @@
+--- vmnet-only/bridge.c 2017-06-20 04:54:39.000000000 +0200
++++ vmnet-only/bridge.c.new 2017-08-18 11:16:20.979974593 +0200
+@@ -636,7 +636,7 @@
+ unsigned long flags;
+ int i;
+
+- atomic_inc(&clone->users);
++ refcount_inc(&clone->users);
+
+ clone->dev = dev;
+ clone->protocol = eth_type_trans(clone, dev);