From patchwork Fri Mar 25 01:11:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 660821 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2P16enN021766 for ; Fri, 25 Mar 2011 01:06:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755505Ab1CYBGh (ORCPT ); Thu, 24 Mar 2011 21:06:37 -0400 Received: from nspiron-3.llnl.gov ([128.115.41.83]:19138 "EHLO smtp.llnl.gov" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755356Ab1CYBGg (ORCPT ); Thu, 24 Mar 2011 21:06:36 -0400 X-Attachments: None Received: from eris.llnl.gov (HELO trebuchet.chaos) ([134.9.2.84]) by smtp.llnl.gov with SMTP; 24 Mar 2011 18:06:36 -0700 Date: Thu, 24 Mar 2011 18:11:34 -0700 From: Ira Weiny To: Alex Netes Cc: "linux-rdma@vger.kernel.org" Subject: [PATCH] opensm/perfmgr: fix overflow processing Message-Id: <20110324181134.880ebd84.weiny2@llnl.gov> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.10.4; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Mar 2011 01:06:40 +0000 (UTC) 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); }