Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25532
b: refs/heads/master
c: 4791c03
h: refs/heads/master
v: v3
  • Loading branch information
Corey Minyard authored and Linus Torvalds committed Apr 11, 2006
1 parent 40670e2 commit 401440a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 091e881d0e55496d8887b61446ae1c598b0995b6
refs/heads/master: 4791c03d2c3b9b6822784f6d7c8e5bbadb1f35ae
2 changes: 2 additions & 0 deletions trunk/drivers/char/ipmi/ipmi_msghandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@ int ipmi_set_gets_events(ipmi_user_t user, int val)
list_del(&msg->link);
list_add_tail(&msg->link, &msgs);
}
intf->waiting_events_count = 0;
}

/* Hold the events lock while doing this to preserve order. */
Expand Down Expand Up @@ -2916,6 +2917,7 @@ static int handle_read_event_rsp(ipmi_smi_t intf,

copy_event_into_recv_msg(recv_msg, msg);
list_add_tail(&(recv_msg->link), &(intf->waiting_events));
intf->waiting_events_count++;
} else {
/* There's too many things in the queue, discard this
message. */
Expand Down

0 comments on commit 401440a

Please sign in to comment.