summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2016-05-30 23:50:44 +0200
committerFabio Rossi <rossi.f@inwind.it>2016-05-30 23:50:44 +0200
commit92a78cb3305fc182764cb0c6b2c44892dcc35212 (patch)
tree6bf3277f56d231667c087b6fe65240f2cc8fd5bb /app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch
parentapp-emulation/vmware-modules: fix patching of version 308 for kernel 4.5 (diff)
downloadvmware-92a78cb3305fc182764cb0c6b2c44892dcc35212.tar.gz
vmware-92a78cb3305fc182764cb0c6b2c44892dcc35212.tar.bz2
vmware-92a78cb3305fc182764cb0c6b2c44892dcc35212.zip
app-emulation/vmware-modules: add support to kernel 4.7
Fix compilation with latest 4.7-rc1 taking example from kernel commit 860e9538a9482bb84589f7d0718a7e6d0a944d58
Diffstat (limited to 'app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch')
-rw-r--r--app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch b/app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch
new file mode 100644
index 0000000..751924f
--- /dev/null
+++ b/app-emulation/vmware-modules/files/308-4.07-00-trans_start.patch
@@ -0,0 +1,11 @@
+--- ./vmnet-only/netif.c.old 2016-05-19 20:13:14.259914206 +0200
++++ ./vmnet-only/netif.c 2016-05-19 20:13:21.250914596 +0200
+@@ -465,7 +465,7 @@
+ VNetSend(&netIf->port.jack, skb);
+
+ netIf->stats.tx_packets++;
+- dev->trans_start = jiffies;
++ netif_trans_update(dev);
+
+ return 0;
+ }