[PATCH] IPMI: fix timeout list handling
authorDavid Barksdale <amatus@ocgnet.org>
Tue, 30 Jan 2007 22:36:25 +0000 (14:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Jan 2007 00:01:36 +0000 (16:01 -0800)
commit41c57a87183a7c458d86f78966d69d4bf18ea0b7
tree8efc83537ecc63a49cd823133f10f003b1efa4ee
parentfa8609da993b04dc2dd762173a6d0ab1a192e256
[PATCH] IPMI: fix timeout list handling

Fix a dangling pointer bug in ipmi_timeout_handler.  A list of timedout
messages is not re-initialized before reuse, causing the head of the list
to point to freed memory.

Signed-off-by: David Barksdale <amatus@ocgnet.org>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c