Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2202361rdb; Fri, 8 Dec 2023 00:53:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgQtcn09Q0eTV646ct1yeOkDSoyYol9qigc66w0IBFz+rmRX62KlhcYHHUHnNqFYZmMtwF X-Received: by 2002:a05:6a00:18a5:b0:6ce:351e:b0d7 with SMTP id x37-20020a056a0018a500b006ce351eb0d7mr4899423pfh.66.1702025630838; Fri, 08 Dec 2023 00:53:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702025630; cv=pass; d=google.com; s=arc-20160816; b=lnWwLjqJIrpaUgjCOPDYIw3OgwaLpHgYkBSPjc7nbfOn4dRX8+/pU1AjIsTlc6BiMn L/C8T6PQqwqkf1HO2YCsNZuLcmAIPeJZfeL2CHpjN+Q0nzqYn/hZxmIv260hGCW0A2dE SrktC5KvGAaZI38i0vDlFp+n+GaH7e+pbmsX+HMuNZQfo9hEW7TgYLlHHWhvG2xyuCHP Of29oSGxAEx3Xw4YTO6TOrVs+10LT0g48NkCYKoNKyC1fntm2JMEe4w8vOP6KuPIYcfQ PzCfK473Drfw3kAkunI82Uyq9qu4YNBVVVNxBnvGmirgZW+MnLydYpBOWdLcMtGeTp8O Qahw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=DU9RvfXv2UaTny8opAzPp+kAAsr/C/+7X+DtRYvLHUw=; fh=ZeD7xywf4lJgGWyx1oNi7ka0IwH0UMCCxpIoGFmBnNU=; b=lakoPXZhL5tc3K44r7uLjmkPb94nChZkKSWbWoZ4uoI+pzXAJrqfTjXGR8Fz7CrozR 6S8Inr84qhibFTvv1HmnA3GkMDSBfeztFGjyH60i7J6LmTvOlwe9pqIIxKc1mwLJp7jX OIxbkWWzV27k9ElYPFKVQrzRUyvJ1GyH+wy5LQUmkrRfeoqjJ/yz7j5ofZ8S2Ins05p1 HMgQLtP560ny5oLukfNaDt83VsU9iblTpCpvqdIiooZPlMcJcckUsUaljM10gr8nWOCo wpiTepRlkuDxPJaOL2skH7MoNx6qEJG4nIaMtxLfvu8XG4zIKDq4H+waysFdosV0rc/M ysGg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector1-marvell-onmicrosoft-com header.b="B47o7W/m"; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id f14-20020a056a0022ce00b006cde1cef718si1203686pfj.322.2023.12.08.00.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 00:53:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector1-marvell-onmicrosoft-com header.b="B47o7W/m"; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0802E80A4F69; Fri, 8 Dec 2023 00:53:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573374AbjLHIx1 (ORCPT + 99 others); Fri, 8 Dec 2023 03:53:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235772AbjLHIxZ (ORCPT ); Fri, 8 Dec 2023 03:53:25 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0DF51724; Fri, 8 Dec 2023 00:53:31 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B83H18Z017036; Fri, 8 Dec 2023 00:51:18 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uu8qed0e1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 00:51:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z0nHBQm+2OTf4KoVajFyx/SKNWztbU895As3fwGL7h3ryWbAG2I4d45xAf/zHyIgypuUUeDOhX/4eRXocqQDgvXhBynDPOdFXNYLIYhderLvJQxd/VzDKYqawPcGRCP/bARThNq9W0B13rAXeijVuqukDM51heN3YM6J33QxrxhhcGb9U+v86DcX3mXHQdB2+NQ39YIP0zQ7eYlWnVNjGd1QtvDQjocSWjX/onQ1nGhh9kxd/1l+bdb57eIPC7eKm2nd4YMJc23OsIiUxvigfE2KIC8Usg6VXJoVrWfvimhrrtw0GmrK+QlBE+s4gLntoSv5bv+MarRVpbkXeFR7yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DU9RvfXv2UaTny8opAzPp+kAAsr/C/+7X+DtRYvLHUw=; b=LrI8e+JAkNqLDD91mLhy0B0TfMp3meWkfiE9z9DyISbcREr1qYxbX5d8Xs8OiX5gCGUB9zumU+l/XQGkTIRIpwUvsW8gof+PTbIxT1v/hSF3qGAAGwhmW1aIRsLplBxwsiX3xKwR45EWpxXHp20/p+SovkR+AX3Njq8kTW8cpK0L1HKDqm0cBPMBex6oeeyiOI6WOl7Q27B0l3t4iPReDQWiIEQXwQ7LxoERpZ1NvxprOL8E61Qtav+nQPuqkxAwzQTZkc2rW728uxj2+LeoEgKhnE9TbeDQbrCVvPLk1BNOOiVvpRDPjz0ex3IarJDFnSi9HZYgVc7RT3kutbZaWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DU9RvfXv2UaTny8opAzPp+kAAsr/C/+7X+DtRYvLHUw=; b=B47o7W/m3kNDGO6iEDwbp8eNLecG+25u3BmFJzRlWihpRWgS9BrXWP/ICHeuG1m7b08CnxGof7/bxKFcoSL2GDeDUu8R7wYy5iyTQe0OuDhBj/e33sRS6Gb6CQoAQKU5Pfi0mFTlDb4Cq6pX5e/1sfDxFyMUeV3avTr89jUwZpc= Received: from SJ0PR18MB5216.namprd18.prod.outlook.com (2603:10b6:a03:430::6) by CH3PR18MB5770.namprd18.prod.outlook.com (2603:10b6:610:1b0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.25; Fri, 8 Dec 2023 08:51:15 +0000 Received: from SJ0PR18MB5216.namprd18.prod.outlook.com ([fe80::6a4f:cb8d:70fd:ef2]) by SJ0PR18MB5216.namprd18.prod.outlook.com ([fe80::6a4f:cb8d:70fd:ef2%4]) with mapi id 15.20.7091.017; Fri, 8 Dec 2023 08:51:15 +0000 From: Suman Ghosh To: Zhipeng Lu CC: Chris Snook , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Yuanjun Gong , Jie Yang , Jeff Garzik , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [EXT] [PATCH] [v2] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources Thread-Topic: [EXT] [PATCH] [v2] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources Thread-Index: AQHaKa/kiVBfutZCDU+U5ccRmrHdR7CfE8aQ Date: Fri, 8 Dec 2023 08:51:14 +0000 Message-ID: References: <20231208082316.3384650-1-alexious@zju.edu.cn> In-Reply-To: <20231208082316.3384650-1-alexious@zju.edu.cn> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3VtYW5nXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctZWZlNjFmMzgtOTVhNi0xMWVlLWI3MDAtODQxNDRk?= =?us-ascii?Q?ZWVhNTRjXGFtZS10ZXN0XGVmZTYxZjNhLTk1YTYtMTFlZS1iNzAwLTg0MTQ0?= =?us-ascii?Q?ZGVlYTU0Y2JvZHkudH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Z0JsQUd3QWJB?= =?us-ascii?Q?QmZBSEFBY2dCdkFHb0FaUUJqQUhRQVh3QnVBR0VBYlFCbEFITUFYd0J5QUdV?= =?us-ascii?Q?QWN3QjBBSElBYVFCakFIUUFaUUJrQUY4QWJRQmhBSElBZGdCbEFHd0FiQUFB?= =?us-ascii?Q?QUdnQUFBQUFBQUFBYlFCaEFISUFkZ0JsQUd3QWJBQmZBSEFBY2dCdkFHb0Fa?= =?us-ascii?Q?UUJqQUhRQVh3QnVBR0VBYlFCbEFITUFYd0J5QUdVQWN3QjBBSElBYVFCakFI?= =?us-ascii?Q?UUFaUUJrQUY4QWJRQmhBSElBZGdCbEFHd0FiQUJmQUc4QWNnQmZBR0VBY2dC?= =?us-ascii?Q?dEFBQUFLZ0FBQUFBQUFBQnRBR0VBY2dCMkFHVUFiQUJzQUY4QWRBQmxBSElB?= =?us-ascii?Q?YlFCcEFHNEFkUUJ6QUFBQUlnQUFBQUFBQUFCdEFHRUFjZ0IyQUdVQWJBQnNB?= =?us-ascii?Q?RjhBZHdCdkFISUFaQUFBQUE9PSIvPjwvbWV0YT4=3D?= x-dg-tag-bcast: {F446EF7D-C1E5-4032-A7B4-EAA6E3A1B2CA} x-dg-paste: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR18MB5216:EE_|CH3PR18MB5770:EE_ x-ms-office365-filtering-correlation-id: 9ab062d2-4c81-4ede-d031-08dbf7cad60e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: azyexUO9P7C0fiAolS5yjQO5ksl1srb/c6Sw5twZ6cMQ/jURymyMaf9laXdi5AglztXtZBdAwajwdcZE4pUnw09IFvOEC0lWMAolu73uj5pT8Agt7vQy8smZ90nhZfA06KQW6eEHSoe67sas9QmkjLFZd1NMp9enNdQBWwL0X5vehk7aDNx8ri45mcVoaYiqRXuEgWQhKUA2JFDGi+nzxVQg06foA1UGyL5Z71U5Esg2NM2He0T4hyxj08Tjm6jPjm8MKHq5l5ZK4fPKaFceQKoXvB6Jx130SQv+FYQ59XoHvGtBqCWOl7SwrNrUfBlP0cJjR3sHIC1SDz7ZdANNi1l0wroRBmmdsBmh8AAmUfmy0bv9qU+p6oOAIcTk34ovXrN8QJa/f9Xh61a2K1aonR73rsLF73xKKGA/YyGqzmaVVGTjx1JViz+myiILv/cyFpWfdoyZQKyqkbQ5sQdKtkajuMMfnF5ZeqRBS1SCZAFD+EY9SCf8RbfQi9Og739cizb/ceG6V+FLGFzl5vKN/9cRWQkCEjstEFcbL7ryrW/YZfBOaYcWKpBuc0vV1EUjpcoMmcDfcM9KmeMJywq6ng+jVaX4C8rKv8zSBPBpnaBlg2wVk9x7ZmU0WkDoaz/HZ7ceW3R5/4prV2jFif0F/A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR18MB5216.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(376002)(366004)(346002)(136003)(396003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(33656002)(2906002)(4744005)(7416002)(5660300002)(122000001)(52536014)(8936002)(86362001)(4326008)(8676002)(316002)(54906003)(6916009)(76116006)(66946007)(64756008)(66556008)(66446008)(38070700009)(66476007)(41300700001)(38100700002)(55016003)(478600001)(71200400001)(7696005)(6506007)(26005)(9686003)(357404004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1f8T5ZDVyYUTgQTRiZbsxtr5KAGWb2sJcfBqZHp5IYJmOHw1I9JwXA+Zf8zY?= =?us-ascii?Q?Di5/hmTiKruwRLL5FqGqu5YRaSvvT5qVY0RxlzfCU7XxHl/4eVvwKnUUyHxc?= =?us-ascii?Q?lN2Uy9oB0cFdBh4LxA0a6R5FDZ5XILEfRWCw8wb5wJBtpcIsVq6tE1ICUvW+?= =?us-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QSoyF1X/QpJz3?= =?us-ascii?Q?rjxiiqgsiAwnSo+36GgPZd1RbgADojUFDwMfFhJPaVZIW5ex0a7fQpm+WgCe?= =?us-ascii?Q?4W8INWSo2mfm2V+PquVOse2QvvokEoxHKMGZqL3xAtkWgTtm/U+lMnTgsA7o?= =?us-ascii?Q?5rXM4PaHHXfk+wkGs0MRiUyETnJbCNZMiD3QroPGdKpjCJpfJ9wwD9JR0vA1?= =?us-ascii?Q?WZp8CwK56djC8duWDNXveiNQprcbf7Y91mWYEJ4Jwqe5R24jczTX+lUY+7oJ?= =?us-ascii?Q?nf1gChkg2Ss2+Nqd3ppqiNpofvNJBCJHdGkjfkI+bhSKfyZuqXTAOWWNpr5o?= =?us-ascii?Q?StHsxKUQCZ1VB+XyqYDl9XFvjWplPkQXum7XhHxXjH1oRfyoIJfdH2QxO119?= =?us-ascii?Q?O272lMuA7S0S6AZTk6SqaH3mVWY/6ok8uvtRFnyhB4q46sdAnRVfBfR1Ylt+?= =?us-ascii?Q?07CljujFqG1zZJntf/wJ48zO0Og4P6R/K4on5ldkkqQ7uVaN+SeLy2BmSM0d?= =?us-ascii?Q?XxhNB2mlLAAG8euSa/s=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR18MB5216.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ab062d2-4c81-4ede-d031-08dbf7cad60e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2023 08:51:14.9533 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5/x0VQ3FXSnk/BU4j9tj1Mh8Ak0Oh14wmfMHKDuToNe6DIOwLwPq65Tpq5MnaWxYwOfg/bQgf+Ok6tvdUeK3CA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR18MB5770 X-Proofpoint-GUID: J38dzf2uVHBLBoFlf0Pp92xXK3OvfC1P X-Proofpoint-ORIG-GUID: J38dzf2uVHBLBoFlf0Pp92xXK3OvfC1P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-08_04,2023-12-07_01,2023-05-22_02 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 08 Dec 2023 00:53:47 -0800 (PST) >In the error handling of 'offset > adapter->ring_size', the tx_ring- >>tx_buffer allocated by kzalloc should be freed, instead of 'goto >failed' instantly. > >Fixes: a6a5325239c2 ("atl1e: Atheros L1E Gigabit Ethernet driver") >Signed-off-by: Zhipeng Lu >--- Reviewed-by: Suman Ghosh > >Changelog: > >v2: Setting tx_ring->tx_buffer to NULL after free.