Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2394682ybv; Fri, 21 Feb 2020 14:57:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwZahOacu6JUNZzN2j1jBmxMYfflRtJihBqQHz0SA+IhNGU4/BOEqPHM/XtXtwaiUL9kCd0 X-Received: by 2002:a9d:6f0a:: with SMTP id n10mr31381172otq.54.1582325867686; Fri, 21 Feb 2020 14:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582325867; cv=none; d=google.com; s=arc-20160816; b=pidwRtI6/tFzJ7TRZWAJA45A8CMxF7f7ef3ccJx78zhxFUj9+X4MJE28UdfGKEq/xm 3W1wFN/TlxsJ/Cn/J0GEgV9Om7NG1hGC37WqrugQW8io/UOBfpTSLzmSgNVFJ1yiZQUw hLLOUNnXpXzaF+1PJOogJ3j4v8fNsLCDBDmweqa+65pkH8JBJuG0CcKB89J834TrO1zq Zw2tocueFgSkGfJdajVL2Ijuq9KtobZoKf0tiTD0Mld7OsvrcP2GRn8BobAft2yXKJku NhaQIMucpnJbYjqAOtPb+aQl+bKn3Umq9Js+olislAHA+NZ8Y+MYQLAIGr2gv4a8zCOd eG0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=mHXErjrqGneRv2hmmW4O5dP0FIgiXEVOdcSpIVObv2c=; b=zMAJdNe8uetoBNr5lUQiCNfuNmoJEAG/zx82/jQk5HSA3uK29t6CnS+qr+3z2OKdJ2 rIZgsGMJohkEpsKe+S3+vgnhsgo6vSklLFtmFbYyOFDzwjCiULSL4gjLpGGf9eCZ26At ZPe3Bg1KWukF/F7Y6A1H4Q6M3NBZDSJHHj1w1gaQ+F2sSZkoEmJGTmLTTTmn21NSvkou 8Pd6oVZsR/6p3dLFUwYAdZJSmlihHO0PtI/G27Ck5huyTL3uxbi9m6AFj2iK7JlVDT4M MoQuJjy4C9gkhKawyQwkRsmfwdruhCuTnvjE9HiZhlrQ78lRyxf9fvSwyK/I9rCfGhP+ bvBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=uOHwG2vY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si1297738oih.173.2020.02.21.14.57.21; Fri, 21 Feb 2020 14:57:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=uOHwG2vY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729187AbgBUW5P (ORCPT + 99 others); Fri, 21 Feb 2020 17:57:15 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:34884 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbgBUW5O (ORCPT ); Fri, 21 Feb 2020 17:57:14 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01LMiJMA173951; Fri, 21 Feb 2020 22:57:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2020-01-29; bh=mHXErjrqGneRv2hmmW4O5dP0FIgiXEVOdcSpIVObv2c=; b=uOHwG2vYSTHxA4n2PE+dWpoS0X6e5Jv5bK9Gh83QZfwXAWIPmG4kAV2w6AAcLVFgeZmT nmUcxMPKm9jR2WIMCgzxuT673R7uWsYtG2JndQAQkPI2wFXZgXo8i4DDqagwo3OytxMd 98ENFpSMwd94UyRoKjDEfk6EhgHD/EK1Rr/JxIfQedpZDPfBKhlnqVoLh3A5a5z75v0V aZsMoY4NdSOJNw0JmrtKhbkW5Xuvq/Jgaaqi4+z2OeoyZSEp8cduL7/BktF6mPkz5UQW wPvG3uSzp4HwCnnx+lxQeULJqp1G0FDA0u3a+SwwirBDWm44ojM75hYJLaME+AnzXCUk tA== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2y8ud1kaa7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Feb 2020 22:57:07 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01LMgZJH101171; Fri, 21 Feb 2020 22:57:06 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2y8udg3yuw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Feb 2020 22:57:06 +0000 Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 01LMv238008888; Fri, 21 Feb 2020 22:57:03 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 21 Feb 2020 14:57:02 -0800 To: Igor Druzhinin Cc: , , , , , Subject: Re: [PATCH RESEND 1/2] scsi: libfc: free response frame from GPN_ID From: "Martin K. Petersen" Organization: Oracle Corporation References: <1579013000-14570-1-git-send-email-igor.druzhinin@citrix.com> <1579013000-14570-2-git-send-email-igor.druzhinin@citrix.com> Date: Fri, 21 Feb 2020 17:56:59 -0500 In-Reply-To: <1579013000-14570-2-git-send-email-igor.druzhinin@citrix.com> (Igor Druzhinin's message of "Tue, 14 Jan 2020 14:43:19 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9538 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxscore=0 adultscore=0 mlxlogscore=886 malwarescore=0 bulkscore=0 suspectscore=2 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002210170 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9538 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 malwarescore=0 suspectscore=2 bulkscore=0 spamscore=0 priorityscore=1501 phishscore=0 impostorscore=0 mlxlogscore=960 clxscore=1015 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002210170 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Igor, > fc_disc_gpn_id_resp() should be the last function using it so free it > here to avoid memory leak. Applied to 5.6/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering