From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ira Weiny Subject: [PATCH] opensm/perfmgr: fix overflow processing Date: Thu, 24 Mar 2011 18:11:34 -0700 Message-ID: <20110324181134.880ebd84.weiny2@llnl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alex Netes Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org From: Ira Weiny Date: Wed, 9 Mar 2011 16:28:23 -0800 Subject: [PATCH] opensm/perfmgr: fix overflow processing The stored error counters need to be cleared when the clear is issued because of overflow. Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c index fccf9d6..6a1fa63 100644 --- a/opensm/osm_perfmgr.c +++ b/opensm/osm_perfmgr.c @@ -1032,6 +1032,7 @@ static void perfmgr_check_overflow(osm_perfmgr_t * pm, PRIx64 ") port %d\n", mon_node->name, mon_node->guid, port); + perfmgr_db_clear_prev_err(pm->db, mon_node->guid, port); perfmgr_db_clear_prev_dc(pm->db, mon_node->guid, port); } -- 1.5.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html