]> git.hungrycats.org Git - linux/commit
[IA64-SGI] Double spin_unlock in bte.c
authorRobin Holt <holt@sgi.com>
Tue, 19 Oct 2004 17:33:58 +0000 (17:33 +0000)
committerTony Luck <tony.luck@intel.com>
Tue, 19 Oct 2004 17:33:58 +0000 (17:33 +0000)
commit42ae05cd253415ccaaa96c8b432e5c40a351f3c4
tree0659938085c6972baaff25cbacd33c1f77a67b22
parent82c16c41cd042a5ae88c889e22b6e6d43cb00319
[IA64-SGI] Double spin_unlock in bte.c

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: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/bte.c