]> err.no Git - linux-2.6/commit
[PATCH] ipmi: fix a deadlock
authorCorey Minyard <minyard@acm.org>
Sun, 1 May 2005 15:59:12 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:12 +0000 (08:59 -0700)
commit882fe011a92fa4fc31ca6cc95b279f7e4e52935c
treeda1fc3fab16f937c79a83024c552813f8d61602f
parent9dbf68f97d585265eaadd15aea308efd9ae39d34
[PATCH] ipmi: fix a deadlock

Correct an issue with the IPMI message layer taking a lock and calling
lower layer driver.  If an error occrues at the lower layer the lock can be
taken again causing a deadlock.  The lock is released before calling the
lower layer.

Signed-off-by: David Griego <dgriego@mvista.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c