In kernel 2.6.36, the BKL (big kernel lock) is removed for file ioctl operations. This change affects vboxnetadp. To fix it, the following patch, which is issued under the GPL V2, is needed:
Signed-off-by: Larry Finger <[email protected]> Index: src/vboxnetadp/linux/VBoxNetAdp-linux.c =================================================================== --- src.orig/vboxnetadp/linux/VBoxNetAdp-linux.c +++ src/vboxnetadp/linux/VBoxNetAdp-linux.c @@ -83,7 +83,9 @@ static struct file_operations gFileOpsVB owner: THIS_MODULE, open: VBoxNetAdpLinuxOpen, release: VBoxNetAdpLinuxClose, +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) ioctl: VBoxNetAdpLinuxIOCtl, +#endif }; /** The miscdevice structure. */ @@ -246,6 +248,7 @@ static int VBoxNetAdpLinuxClose(struct i * @param uCmd The function specified to ioctl(). * @param ulArg The argument specified to ioctl(). */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, unsigned int uCmd, unsigned long ulArg) { VBOXNETADPREQ Req; @@ -315,6 +318,7 @@ static int VBoxNetAdpLinuxIOCtl(struct i return 0; } +#endif int vboxNetAdpOsInit(PVBOXNETADP pThis) { --- _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
