• Robin Holt's avatar
    [IA64-SGI] Double spin_unlock in bte.c · 42ae05cd
    Robin Holt authored
    If all bte interfaces are in use, the current code will leave the
    bte pointer set when exiting from the loop trying to locate an
    interface to use.  This results in two processes using the same
    interface and both trying to free the same one.  With a
    premptible kernel, this results in the preempt count getting
    off.
    Signed-off-by: default avatarRobin Holt <holt@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    42ae05cd
bte.c 11.6 KB