VirtualBox

Changeset 43343 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 18, 2012 11:16:50 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80779
Message:

Additions/common/VBoxGuest: re-added housekeeping code to prevent crashes in the mouse polling code on older kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r41722 r43343  
    751751         pFilp, pFilp->private_data, RTProcSelf(), current->pid, current->comm));
    752752
     753#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)
     754    /* This housekeeping was needed in older kernel versions to ensure that
     755     * the file pointer didn't get left on the polling queue. */
     756    vboxguestFAsync(-1, pFilp, 0);
     757#endif
    753758    VBoxGuestCloseSession(&g_DevExt, (PVBOXGUESTSESSION)pFilp->private_data);
    754759    pFilp->private_data = NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette