]> err.no Git - linux-2.6/commit
[PATCH] IPMI: fix startup race condition
authorCorey Minyard <minyard@acm.org>
Fri, 31 Mar 2006 10:30:39 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:54 +0000 (12:18 -0800)
commit453823ba08ba762b3d58934b6dce75edce37169e
tree80170bf784145621467ba83ea44d25dc3e5e5964
parentee37df7877eeaa16d7761cce64854110a7c17ad9
[PATCH] IPMI: fix startup race condition

Matt Domsch noticed a startup race with the IPMI kernel thread, it was
possible (though extraordinarly unlikely) that a message could come in
before the upper layer was ready to handle it.  This patch splits the
startup processing of an IPMI interface into two parts, one to get ready
and one to actually start the processes to receive messages from the
interface.

[akpm@osdl.org: cleanups]
Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c
include/linux/ipmi_smi.h