diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-01-07 21:40:08 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-01-07 21:43:56 +0300 |
commit | 820013481a115100d5f8f22dc01aac8cc0363a23 (patch) | |
tree | 99cd46b66d5b9b97d38265d553f4fb60fee0d6a2 /meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch | |
parent | 965a056096e5e043748da8766fa50cb7afedb608 (diff) | |
download | openbmc-820013481a115100d5f8f22dc01aac8cc0363a23.tar.xz |
Update to internal 2020-01-07
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch')
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch b/meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch deleted file mode 100644 index 6430a6928..000000000 --- a/meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-net/0012-Do-not-stop-session-in-deactivate-payload.patch +++ /dev/null @@ -1,48 +0,0 @@ -From cf8c0e1bf18334fe4a8f76c1e9b34ccfdc82f6f9 Mon Sep 17 00:00:00 2001 -From: Yong Li <yong.b.li@linux.intel.com> -Date: Fri, 15 Nov 2019 18:34:04 +0800 -Subject: [PATCH] Do not stop session in deactivate payload - -IPMI spec defines that: -The Deactivate Payload command does not cause the session to be terminated; - -Also during SOL looptest, there is only one time startSession call, -but multiple stopSessions calls, -This causes the looptest will fail if there is any new sessions comes in, -needs to remove the stopSession call. - -Tested: -Start the loop test in a terminal: -ipmitool -H $BMCIP -Uroot -P 0penBmc -I lanplus sol looptest 500 200 - -Then start a new session in another terminal: -ipmitool -H $BMCIP -Uroot -P 0penBmc -I lanplus raw 6 1 - -The looptest still works - -Signed-off-by: Yong Li <yong.b.li@linux.intel.com> ---- - command/payload_cmds.cpp | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/command/payload_cmds.cpp b/command/payload_cmds.cpp -index f558781..363b843 100644 ---- a/command/payload_cmds.cpp -+++ b/command/payload_cmds.cpp -@@ -176,13 +176,6 @@ std::vector<uint8_t> deactivatePayload(const std::vector<uint8_t>& inPayload, - */ - return outPayload; - } -- -- auto check = -- std::get<session::Manager&>(singletonPool).stopSession(sessionID); -- if (!check) -- { -- response->completionCode = IPMI_CC_UNSPECIFIED_ERROR; -- } - } - catch (std::exception& e) - { --- -2.7.4 - |