Skip to content

Instantly share code, notes, and snippets.

@misterch0c
Last active August 12, 2016 07:43
Show Gist options
  • Save misterch0c/6e72c56aa77a3e9c910c3ab7ac9a2df1 to your computer and use it in GitHub Desktop.
Save misterch0c/6e72c56aa77a3e9c910c3ab7ac9a2df1 to your computer and use it in GitHub Desktop.
# Step 1: Extract source
tar xvf /usr/lib/vmware/modules/source/vmnet.tar
# Step 2: Patch source
open /usr/lib/vmware/modules/sources/vmnet-only/netif.c
replace "dev->trans_start = jiffies;" with "netif_trans_update(dev);" and don't forget the ";" (:
# Step 3: Replace source
tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
# Step 4: Rebuild
sudo vmware-modconfig --install-all --console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment