]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ipmi: fix message handling during panics
authorCorey Minyard <cminyard@mvista.com>
Wed, 28 Mar 2012 21:42:49 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Mar 2012 00:14:36 +0000 (17:14 -0700)
commit895dcfd1cab84d7e1c22af645a7f2f3c9bb5f24e
treebfa060ef5fb76ffb0cd5fbd168140895686d0fad
parent7adf579c8babf62026e6aab1dee85e6b104d9936
ipmi: fix message handling during panics

The part of the IPMI driver that delivered panic information to the event
log and extended the watchdog timeout during a panic was not properly
handling the messages.  It used static messages to avoid allocation, but
wasn't properly waiting for these, or wasn't properly handling the
refcounts.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_watchdog.c