• Corey Minyard's avatar
    ipmi: Make the message handler easier to use for SMI interfaces · 7ea0ed2b
    Corey Minyard authored
    The message handler expected the SMI interface to keep a queue of
    messages, but that was kind of silly, the queue would be easier to
    manage in the message handler itself.  As part of that, fix the
    message cleanup to make sure no messages are outstanding when an
    SMI interface is unregistered.  This makes it easier for an SMI
    interface to unregister, it just has to call ipmi_unregister_smi()
    first and all processing from the message handler will be cleaned
    up.
    Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
    7ea0ed2b
ipmi_msghandler.c 118 KB