Skip to content
Snippets Groups Projects
Commit 1d86e29b authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi: Fix a memory ordering issue


From a locking point of view it is safe to check waiting_msg without
a lock, but there is a memory ordering issue that causes it to
possibly not be set right when viewed from another processor.  We are
already claiming a lock right after that, move the check to inside
the lock to enforce the memory ordering.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent d6c5dc18
Branches master
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment