VMware 11 – Fix for vmnet and Kernel 3.19..

Thanks to Al Viro, and to coderus on the VMware forum, we now have a solution for vmnet and Kernel 3.19, as follows:

In vmnet-only/driver.c (lines 269, 1194, and 1195):

Replace instances of f_dentry with f_path.dentry

In vmnet-only/userif.c (line 526):

Replace 
   return skb_copy_datagram_iovec(skb, 0, &iov, len);
with
   struct iov_iter to;
   iov_iter_init(&to, READ, &iov, 1, len);
   return skb_copy_datagram_iter(skb, 0, &to, len);

The VMware forum thread can be found here: https://communities.vmware.com/message/2469395

I have made these changes on my test system with Kernel 3.19-rc5, and VMware 11.0 (including vmnet) now compiles and loads/runs OK..

Note that for a complete solution, backward compatible with kernels prior to 3.19, then if/then/else tests for kernel version, and including the ‘old’ or ‘new’ code, will have to be added..

Robert Gadsdon.    January 22, 2015.


Leave a Reply

Your email address will not be published. Required fields are marked *