mkubecek / vmware-host-modules

Patches needed to build VMware (Player and Workstation) host modules against recent kernels
GNU General Public License v2.0
2.31k stars 382 forks source link

no dev_base_lock with kernel 6.10.9-amd64 #285

Closed francoislongchamp closed 2 months ago

francoislongchamp commented 2 months ago

The header of new kernel 6.10.9-amd64 don't have dev_base_lock declared :

/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock)

francoislongchamp commented 2 months ago

Solution is here : https://github.com/mkubecek/vmware-host-modules/issues/239#top