]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[PATCH] IPMI: Clean up the waiting message queue properly on unload
authorCorey Minyard <minyard@acm.org>
Thu, 9 Nov 2006 01:44:52 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 9 Nov 2006 02:29:24 +0000 (18:29 -0800)
commitf3ce6a0ead8c557e9acdc733addd23cbc206c7e3
treeba96756e66d8a84c4ca2b07b8f8f379dcaf3e15a
parent13bb7e37e5081d03643e2bd64f3f5d21f32e7221
[PATCH] IPMI: Clean up the waiting message queue properly on unload

A wrong function was being used to free a list; this fixes the problem.
Otherwise, an oops at unload time was possible.  But not likely, since you
can't have any users when you unload the modules and it is very hard to get
messages into this queue without users.

Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Patrick Schoeller <Patrick.Schoeller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c