Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3832991ybn; Fri, 27 Sep 2019 12:03:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9cEUg9XpIU34LyXjNuUoqBPPoE6wpDRFOkTu0G5+/f6RisZo0hwltZJdyGsmXrOBBDqos X-Received: by 2002:aa7:d7d3:: with SMTP id e19mr6404368eds.80.1569610995649; Fri, 27 Sep 2019 12:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569610995; cv=none; d=google.com; s=arc-20160816; b=YoKYDpT90OwRutrCxj+zAscpX9Db15BSpEXRuqWpd4imQluJ853GhIfOcTf9IdGTXx HAM0BC6L5BzThv2MkPHfSUaeYcUiDmFuQu8IWe9zusKZpJD7+Rc/4jPbQbPzGKs5m2xE fMzeRk7sofvuaQv9VJEdjCo4Gtwd5cftIVnEtFZEOdJyZxzC0h4T78Zbi+sLq08eLLQy 31J47SHXx7oeC2tCfyW94PP5/rF7+gpHE37D+LbVvt5OC28spWnQaQvp27b1M9iEnb7k NYbhWtf4qtCeNQhJThMEKNZdN3yQoWLb5sO5gwywblYn61uIE6elOcNpM44U+PJ6j4n3 Ve2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:from; bh=TIq8+23QixASyGRz9gbjDlM45znpHpP1eu409iI402w=; b=Qvs8q12HlsHDzih4XDmp3iUzXXm80w8MfrfOJ2L2lT28bHvvVI82Dvcg6LWNfXQ1D7 vPpEm2SnJpdmg26e4CwG79CxXTrLFIMwaEpvAj9+MpN/tttCZEHlYTD99LirdXQ+05L/ QhraxDUFttyFL+zHR8AKgux6ViBpvqywqkGxyBtRd9O42pKM8hmItAvRgxailqaj+7SM tohjrRsmD4eytpmaZrGGULfLdmLn/gaHudVs3KfZxWj6eAyOp47w2b74AYsu0+1bH7a1 e84fdvudxlENzmVy5me4KJgf+3/dYgaQZfRtDsnHfgca8LQaYqmDwyILXqNsDJDhbpjC KuIQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dt14si3273581ejb.168.2019.09.27.12.02.50; Fri, 27 Sep 2019 12:03:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728171AbfI0TBR convert rfc822-to-8bit (ORCPT + 99 others); Fri, 27 Sep 2019 15:01:17 -0400 Received: from mga05.intel.com ([192.55.52.43]:37953 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfI0TBR (ORCPT ); Fri, 27 Sep 2019 15:01:17 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 12:01:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,556,1559545200"; d="scan'208";a="273908415" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 27 Sep 2019 12:01:16 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Sep 2019 12:01:16 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 27 Sep 2019 12:01:15 -0700 Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmsx601.amr.corp.intel.com ([10.18.126.81]) with mapi id 15.01.1713.004; Fri, 27 Sep 2019 12:01:15 -0700 From: "Bowers, AndrewX" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" Subject: RE: [Intel-wired-lan] [PATCH] i40e: prevent memory leak in i40e_setup_macvlans Thread-Topic: [Intel-wired-lan] [PATCH] i40e: prevent memory leak in i40e_setup_macvlans Thread-Index: AQHVc7jPmEh7Ea81lkWN7Xt2d7dypac/5EeQ Date: Fri, 27 Sep 2019 19:01:15 +0000 Message-ID: <97cc947a0a08406096349699b6a8dc47@intel.com> References: <20190925154831.19044-1-navid.emamdoost@gmail.com> In-Reply-To: <20190925154831.19044-1-navid.emamdoost@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDM2NWU2NzMtYzA1Yi00YzBkLWJjZDQtZDYwMTNjODNjYTEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMkdpZzNzeGdXMFZrMkdBSWIzaldraVF0aGdpd0NHOGJzdW9mcnlHdFwvREo3enRjQ0NlSmgzYWN1ZFRoUWN3QlUifQ== dlp-reaction: no-action dlp-version: 11.0.400.15 x-originating-ip: [10.22.254.132] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of Navid Emamdoost > Sent: Wednesday, September 25, 2019 8:49 AM > Cc: netdev@vger.kernel.org; kjlu@umn.edu; linux-kernel@vger.kernel.org; > emamd001@umn.edu; intel-wired-lan@lists.osuosl.org; > smccaman@umn.edu; David S. Miller ; Navid > Emamdoost > Subject: [Intel-wired-lan] [PATCH] i40e: prevent memory leak in > i40e_setup_macvlans > > In i40e_setup_macvlans if i40e_setup_channel fails the allocated memory for > ch should be released. > > Signed-off-by: Navid Emamdoost > --- > drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + > 1 file changed, 1 insertion(+) Tested-by: Andrew Bowers