Hidehiro Kawai
82802f968b
ipmi: Don't flush messages in sender() in run-to-completion mode
...
When flushing queued messages in run-to-completion mode,
smi_event_handler() is recursively called.
flush_messages()
smi_event_handler()
handle_transaction_done()
deliver_recv_msg()
ipmi_smi_msg_received()
smi_recv_tasklet()
sender()
flush_messages()
smi_event_handler()
...
The depth of the recursive call depends on the number of queued
messages, so it can cause a stack overflow if many messages have
been queued.
To solve this problem, this patch removes flush_messages()
from sender()@ipmi_si_intf.c. Instead, add flush_messages() to
caller side of sender() if needed. Additionally, to implement this,
add new handler flush_messages to struct ipmi_smi_handlers.
Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com >
Fixed up a comment and some spacing issues.
Signed-off-by: Corey Minyard <cminyard@mvista.com >
2015-09-03 15:02:28 -05:00
..
2015-08-04 22:07:26 -07:00
2015-08-18 09:08:47 +03:00
2015-07-12 21:13:22 +02:00
2015-07-09 20:30:34 +03:00
2015-09-01 13:00:04 -07:00
2015-07-16 00:12:24 +02:00
2015-08-08 12:50:40 +01:00
2015-08-04 14:14:06 +02:00
2015-09-01 12:18:40 -07:00
2015-07-27 15:00:37 -07:00
2015-08-17 15:51:36 -07:00
2015-07-07 13:03:25 -07:00
2015-09-02 16:32:56 -07:00
2015-09-03 08:08:17 -07:00
2015-08-30 14:40:11 +01:00
2015-09-01 13:00:04 -07:00
2015-07-07 13:33:23 +01:00
2015-08-18 09:58:45 -07:00
2015-09-01 03:41:19 +02:00
2015-08-03 12:01:54 -04:00
2015-07-23 18:00:42 -07:00
2015-08-20 14:10:23 -07:00
2015-08-19 14:26:02 -07:00
2015-08-05 09:38:08 +02:00
2015-08-05 09:38:08 +02:00
2015-07-29 08:55:25 -06:00
2015-08-13 10:45:09 -06:00
2015-08-19 14:26:02 -07:00
2015-08-09 22:50:06 -07:00
2015-07-14 17:29:23 -04:00
2015-08-25 14:19:29 -04:00
2015-08-25 14:19:29 -04:00
2015-08-24 16:49:11 -07:00
2015-07-17 16:39:53 -07:00
2015-07-20 11:37:46 +02:00
2015-07-17 16:39:53 -07:00
2015-07-11 20:44:31 -07:00
2015-07-17 16:39:53 -07:00
2015-07-07 10:59:04 +02:00
2015-07-07 10:59:04 +02:00
2015-08-05 13:30:16 -07:00
2015-07-15 13:30:38 +01:00
2015-07-17 16:39:53 -07:00
2015-07-22 09:58:02 +02:00
2015-09-01 15:52:41 +02:00
2015-08-28 15:14:54 +02:00
2015-08-17 16:53:53 +08:00
2015-07-17 16:39:53 -07:00
2015-08-13 12:31:57 -06:00
2015-09-01 19:45:46 -07:00
2015-08-17 12:14:53 -07:00
2015-08-10 11:48:55 +09:00
2015-07-22 15:27:32 -07:00
2015-07-30 11:13:21 -07:00
2015-09-01 16:13:25 -07:00
2015-08-14 16:50:36 -07:00
2015-07-24 13:58:14 -04:00
2015-07-17 08:41:53 -06:00
2015-07-13 14:18:07 -07:00
2015-07-17 16:39:52 -07:00
2015-08-05 11:44:28 -07:00
2015-08-14 17:49:53 +02:00
2015-08-28 13:28:47 -07:00
2015-08-03 12:21:21 +02:00
2015-07-17 16:39:53 -07:00
2015-09-03 15:02:28 -05:00
2015-08-13 21:27:19 -07:00
2015-09-01 14:33:35 -07:00
2015-08-06 00:14:59 +02:00
2015-07-30 00:14:38 +02:00
2015-09-01 14:04:50 -07:00
2015-08-22 14:54:55 +02:00
2015-07-17 16:39:53 -07:00
2015-08-04 22:25:28 -07:00
2015-07-28 08:50:42 +01:00
2015-07-17 16:39:53 -07:00
2015-08-04 10:16:54 +02:00
2015-08-12 12:06:09 +02:00
2015-07-30 16:02:54 +02:00
2015-07-15 11:47:24 -04:00
2015-08-03 17:30:00 -07:00
2015-08-05 10:35:49 -07:00
2015-08-21 14:30:10 -07:00
2015-08-21 14:30:10 -07:00
2015-07-17 16:39:53 -07:00
2015-08-07 15:03:42 +02:00
2015-07-21 10:39:05 -07:00
2015-07-30 00:14:39 +02:00
2015-08-06 23:51:30 -07:00
2015-08-27 16:28:35 -07:00
2015-07-30 13:37:42 +02:00
2015-08-27 16:35:51 -07:00
2015-09-02 16:32:56 -07:00
2015-07-22 17:15:54 -04:00
2015-07-22 17:15:54 -04:00
2015-08-18 11:56:13 -06:00
2015-08-05 13:43:44 -07:00
2015-08-05 13:43:12 -07:00
2015-07-27 08:23:27 -05:00
2015-07-30 00:14:37 +02:00
2015-08-25 11:29:55 -05:00
2015-08-26 01:46:39 +02:00
2015-07-17 16:39:54 -07:00
2015-08-07 04:39:42 +03:00
2015-07-17 16:39:53 -07:00
2015-08-13 15:59:58 -05:00
2015-09-01 14:33:35 -07:00
2015-07-14 17:43:56 -04:00
2015-08-09 22:50:05 -07:00
2015-08-31 14:48:02 -07:00
2015-08-31 14:48:01 -07:00
2015-08-29 01:54:43 +02:00
2015-08-07 03:17:06 +02:00
2015-07-28 08:50:41 +01:00
2015-07-21 23:14:22 +02:00
2015-08-03 12:21:24 +02:00
2015-07-17 16:39:53 -07:00
2015-08-13 16:58:29 -07:00
2015-08-07 14:37:04 +02:00
2015-07-31 19:13:33 +01:00
2015-07-22 15:27:32 -07:00
2015-07-22 15:26:58 -07:00
2015-07-22 15:26:58 -07:00
2015-08-24 14:28:01 -06:00
2015-08-31 20:26:22 -07:00
2015-07-23 17:43:30 -07:00
2015-09-01 21:19:17 -07:00
2015-09-01 08:40:25 -07:00
2015-07-29 00:13:25 -07:00
2015-08-03 12:21:27 +02:00
2015-07-29 08:55:15 -06:00
2015-08-05 13:24:12 -07:00
2015-07-29 15:45:01 +02:00
2015-08-17 11:25:28 -07:00
2015-08-20 21:13:22 +02:00
2015-08-06 15:29:14 -03:00
2015-08-03 15:24:43 -07:00
2015-07-23 18:37:31 -07:00
2015-07-22 15:27:29 -07:00
2015-08-28 16:27:27 -07:00
2015-07-31 10:38:06 +02:00
2015-08-18 09:59:12 -07:00
2015-08-17 15:48:24 -04:00