From patchwork Thu Mar 14 14:13:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2271561 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5500D40E1D for ; Thu, 14 Mar 2013 14:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756652Ab3CNONu (ORCPT ); Thu, 14 Mar 2013 10:13:50 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:55234 "EHLO mail-ee0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755923Ab3CNONt (ORCPT ); Thu, 14 Mar 2013 10:13:49 -0400 Received: by mail-ee0-f41.google.com with SMTP id c13so1046629eek.14 for ; Thu, 14 Mar 2013 07:13:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=1i9Cg3U842J3AbutP2z8O/RN5Rznds4tjwZXbFpY9n4=; b=UJQi2IMm5GtjBP+UD5WCFIco7Uo0iNn4He2pC3sTmt0Cds3Zv/lsrm5Vsfy+5HOw7J t3vV9xiwHHpTqZ5zF/iOvVUhn80715W/PiptMRIcxPZUT431YdMS4UPXqRnI7Um0sNzu So0QnKHZU6xotr9gapJ1vdVTo6FDI4+Fa6hdZDXl/4XH0nUzpDUYq5G7rwPoi9ZohGMh 01pwIqsU9XoOYt2fhnMaxusZTdd/H+jljeJo8z2hOe0otqTTRgyE+C/iphTsJJQx3KiT NWBVTWNts8L6UcvwETaK1FLsAlOEfSewCvEtiZrYXG8u8ksNp6aHskogdenrb1TJtgbw R8Fg== X-Received: by 10.14.173.196 with SMTP id v44mr7160141eel.29.1363270427886; Thu, 14 Mar 2013 07:13:47 -0700 (PDT) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPS id z45sm3882984eeu.10.2013.03.14.07.13.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Mar 2013 07:13:46 -0700 (PDT) Message-ID: <5141DB18.1000408@dev.mellanox.co.il> Date: Thu, 14 Mar 2013 10:13:44 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH] opensm/osm_sw_info_rcv.c: Fix double release of lock in osm_si_rcv_process X-Gm-Message-State: ALoCoQl0bIFK+4fcjLmSSYWLnn7BRoG8+WD4hF9Sx6p1C36pxH/dR9INkgrZ6ble5XE1TeQPY7dE Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org when node GUID is not found Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_sw_info_rcv.c b/opensm/osm_sw_info_rcv.c index 122af89..84e7fe0 100644 --- a/opensm/osm_sw_info_rcv.c +++ b/opensm/osm_sw_info_rcv.c @@ -378,7 +378,7 @@ void osm_si_rcv_process(IN void *context, IN void *data) /* we might get back a request for signaling change was detected */ sm->p_subn->force_heavy_sweep = TRUE; -Exit: CL_PLOCK_RELEASE(sm->p_lock); +Exit: OSM_LOG_EXIT(sm->p_log); }