As usual, every time the Linux kernel gets an update, VMware Workstation’s vmmon and vmnet modules fail to compile.
No exception this time either.
The fix is blunt: just use a patch.
Linux kernel 4.10 is out, and supposedly it brings a lot of improvements, so let’s take it for a spin:
sudo add-apt-repository ppa:canonical-kernel-team/ppa
sudo apt update
sudo apt install linux-headers-4.10.0-8-generic linux-image-4.10.0-8-generic linux-image-extra-4.10.0-8-generic linux-headers-4.10.0-8
A reboot should do it.
Then you’ll find VMware no longer works — the modules fail to compile again.