Current code causes SM to stuck after a few times SM priority is changed.

Signed-off-by: Alex Netes <[email protected]>
---
 opensm/osm_sm_mad_ctrl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/opensm/osm_sm_mad_ctrl.c b/opensm/osm_sm_mad_ctrl.c
index c384eca..11195e8 100644
--- a/opensm/osm_sm_mad_ctrl.c
+++ b/opensm/osm_sm_mad_ctrl.c
@@ -534,6 +534,7 @@ static void sm_mad_ctrl_process_trap_repress(IN 
osm_sm_mad_ctrl_t * p_ctrl,
         */
        switch (p_smp->attr_id) {
        case IB_MAD_ATTR_NOTICE:
+               sm_mad_ctrl_update_wire_stats(p_ctrl);
                sm_mad_ctrl_retire_trans_mad(p_ctrl, p_madw);
                break;
        default:
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to