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);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I have not tried the above yet, still on 14.10...
Jesse
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I have not tried the above yet, still on 14.10...
Jesse
Comment