forked from ibm-openbmc/pldm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix oom condition & pldm crash in resetreload path
- After the PDR exchange from host post reset reload, bmc would start asking for the host sensor states and update the dbus objects. - There was a bug in code where the iterator was crossing the end - causing a bad_alloc failure, it is manifested as either pldm crash or an oom condition(where the recursion is never completed and the stack keeps growing). Testedby: 1. with the patch on rain139bmc, did 10 power on/offs & also reset reload's when host is up and did not see any issue. Signed-off-by: Manojkiran Eda <[email protected]>
- Loading branch information
1 parent
0f5c59a
commit 6aeca8d
Showing
1 changed file
with
159 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters