Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3931688imm; Wed, 5 Sep 2018 08:10:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZXSiQfFMbZY6wle1Dx42s1E+umo0r+UzEc8sGYC/exSPd4uPdIl1ovUeYwfrqHpg793ukt X-Received: by 2002:a17:902:4e:: with SMTP id 72-v6mr39169872pla.318.1536160238949; Wed, 05 Sep 2018 08:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536160238; cv=none; d=google.com; s=arc-20160816; b=vSucyYRzBO31fIzrCx1f0589En0SbMK2V11XJEFn1+X1cSEvJ2UgeayLukYjH9v/Zo +OIyyHUIHnTpsiE/6tLGwkTddFU6Udbj7uAMqJIVJpVpqA47Q7GLJqx1mwWEbpUIOe/9 t8iMHA3bs8lMcjff4tr+uAOMrIKbj2rQFquxp96Qd0QGplvOBWvhs4SFGq8xY9OAp9Bw WRvC/sDfDtyc3sT4t6dqVKbDCBVlNhJn0L6QYnR/A6/lRgP/jXTaQCW8r0VhQ8H8uNN6 +MskU1pmBAWFRpm5512F6egOQtNvw3bAj1G70qieLGmOtR/TYRDxylW7/YvhN0BSkGjd 6cPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=vlpRLmaK+qjIot262ov3yyO7DS8VNRBGRj9miLyRQAI=; b=JlMGsD49ELPSVxKoeLpuha/Uwigj+G9hXaCISk460HnwcSNUZoW9d7LHjVKUo9F+kH WtJ5D2IGly6J4cqpfwqdJ9hnnmPryLDyakISLyqAt5bXLewyoKAGLWlM8KtgALov4KUD RMGcLeWt6eQg/HAAsxu4d7p7KGyEjvKVtEuuOxqn4NmfhnvHq+Svh8HX/rvRzh5bvkhd hANLIZIs/NeOKeFk98CmRxL76Pm6tteFMuMoiOsBCcIU3exFVq4mdrJ0vtOFk4hY18nS XirvXFa5w2065ckA8KwTshoW85PWlsFAkfpmHyulSVLlScrTOQBB/8o5s1ACaXFKWIkU yowQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v123-v6si2199613pfb.324.2018.09.05.08.10.23; Wed, 05 Sep 2018 08:10:38 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727679AbeIETjT (ORCPT + 99 others); Wed, 5 Sep 2018 15:39:19 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:46506 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbeIETjT (ORCPT ); Wed, 5 Sep 2018 15:39:19 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 26AAC13FFE9FA; Wed, 5 Sep 2018 08:08:42 -0700 (PDT) Date: Wed, 05 Sep 2018 08:08:41 -0700 (PDT) Message-Id: <20180905.080841.1340534248212862752.davem@davemloft.net> To: poros@redhat.com Cc: netdev@vger.kernel.org, ivecera@redhat.com, sathya.perla@broadcom.com, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] be2net: Fix memory leak in be_cmd_get_profile_config() From: David Miller In-Reply-To: <20180905123746.7399-1-poros@redhat.com> References: <20180905123746.7399-1-poros@redhat.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 05 Sep 2018 08:08:42 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Petr Oros Date: Wed, 5 Sep 2018 14:37:45 +0200 > DMA allocated memory is lost in be_cmd_get_profile_config() when we > call it with non-NULL port_res parameter. > > Signed-off-by: Petr Oros Applied, thank you.