From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68D1AC44501 for ; Wed, 15 Jul 2026 08:27:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 01F5A60649; Wed, 15 Jul 2026 08:27:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 7z_8pxqiIovG; Wed, 15 Jul 2026 08:27:23 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4362060640 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1784104043; bh=IQvzwDlyfedqq++oUVQVScJTnk4XMFNZlSdaiPo68EA=; h=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Y8dg1RIhnxCX2DGLR1bvKcsvP1qnH5I8bJ37zJ8MOAXbskcnJ2Hx2XyGfGurxEdtN 24DRKAdNrXikm5CI3aqSggf/6I1X5xcl1+vX+4CYAwQxIauikQo+Dgj387IOvhug9B hG31d4M7i/H7I1zWTXz6wOK6akSiq0Q95mv10uvAxQjydD4Leb8v52TZSyOtl8y+PZ iaAvkNoPmtwTWTGMSDFb/5yS2l/h4hCfs3vA1mDYvdRX10Mfp/8g6yvlGRnP7zZ5XD 0AsbYa4Q0LHIkIwEXdTstKTmURNjMipgopRe4uYPMRSQXbAvo+a/UxNVYuJ/HdXC52 2uMCaO+mshXFA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 4362060640; Wed, 15 Jul 2026 08:27:23 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 83FE8499 for ; Wed, 15 Jul 2026 08:27:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7571760640 for ; Wed, 15 Jul 2026 08:27:21 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SdmEqR0k5BLU for ; Wed, 15 Jul 2026 08:27:20 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=95.215.58.176; helo=out-176.mta1.migadu.com; envelope-from=xuanqiang.luo@linux.dev; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 3ACAF6063F DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 3ACAF6063F Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) by smtp3.osuosl.org (Postfix) with ESMTPS id 3ACAF6063F for ; Wed, 15 Jul 2026 08:27:19 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: xuanqiang.luo@linux.dev To: Tony Nguyen , Przemek Kitszel , Jagielski, Jedrzej , intel-wired-lan@lists.osuosl.org Cc: Andrew Lunn , Mitch Williams , Greg Rose , Sudheer Mogilappagari , netdev@vger.kernel.org, Xuanqiang Luo Date: Wed, 15 Jul 2026 16:25:46 +0800 Message-ID: <20260715082548.56687-1-xuanqiang.luo@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784104036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IQvzwDlyfedqq++oUVQVScJTnk4XMFNZlSdaiPo68EA=; b=L6OFFdD7xzHaeR1tD7FeX03tM5T3O+Y5ZtrOyr43D0CkdPnVb+Ckm9dYV00naJW8zMgszr SxJfLf0ECh5latFnHck1c1OcM9bv8tu3YyRkgYUs4UKmj/STg5miOLT0R1O81vRMmQ0tg9 bNWS9DyBHbWnEu75e19EtxqkEp6AKSQ= X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=linux.dev X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=L6OFFdD7 Subject: [Intel-wired-lan] [PATCH iwl-net v2 0/2] iavf: fix two memory leaks X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" From: Xuanqiang Luo This series fixes two memory leaks found by inspection in iavf. Release the ASQ command buffer when initialization fails and the QoS capabilities buffer when the device is removed. --- Changes: v2: Patch1: - Move the ASQ command buffer cleanup into iavf_free_adminq_asq() to pair it with iavf_alloc_adminq_asq_ring(). (Suggested by Jedrzej.) v1: https://lore.kernel.org/all/20260715061131.34420-1-xuanqiang.luo@linux.dev/ Xuanqiang Luo (2): iavf: fix ASQ command buffer leak on init failure iavf: fix QoS capabilities memory leak drivers/net/ethernet/intel/iavf/iavf_adminq.c | 1 + drivers/net/ethernet/intel/iavf/iavf_main.c | 1 + 2 files changed, 2 insertions(+) base-commit: 58717b2a1365d06c8c64b72aa948541b53fe31eb -- 2.43.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35C8F3CAA51 for ; Wed, 15 Jul 2026 08:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784104040; cv=none; b=VsSFILn3e8EchS/q3viIGQH5WsLKMcCdX0vFeeMe2gvATK1zdJCCygjiykBfs1oq4jAmU5Ok5VMDNYxlJqOQGEWE3FGqMwVFj+CDZH8FCTEUWscOmTfPO+J0YGaBZIT1T91ig7umJr9WFjtNyX4WVJJqCJ1wXeV4dbHJ5GF0Bcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784104040; c=relaxed/simple; bh=BnL9n5nc1HHvkHTyWo8BziebfQkfqWKCqTNLPrakQ7Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KAmIwU180pohn/mmTrBgoG3QSSKm5EUSlPyta+IherSyGA0V/b0mvqEMMxw5e04Do1LNZrV3i7uQGZ312lx0JKlv3tmuvQzyRHdxWa+wKVeolZ27dhO7Ecc59CoJDNxncxh3jEV0a7yWX3Iqw8v1MkKVwzHtp61TrOpIA3peB7A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=L6OFFdD7; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="L6OFFdD7" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784104036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IQvzwDlyfedqq++oUVQVScJTnk4XMFNZlSdaiPo68EA=; b=L6OFFdD7xzHaeR1tD7FeX03tM5T3O+Y5ZtrOyr43D0CkdPnVb+Ckm9dYV00naJW8zMgszr SxJfLf0ECh5latFnHck1c1OcM9bv8tu3YyRkgYUs4UKmj/STg5miOLT0R1O81vRMmQ0tg9 bNWS9DyBHbWnEu75e19EtxqkEp6AKSQ= From: xuanqiang.luo@linux.dev To: Tony Nguyen , Przemek Kitszel , Jagielski, Jedrzej , intel-wired-lan@lists.osuosl.org Cc: Andrew Lunn , Mitch Williams , Greg Rose , Sudheer Mogilappagari , netdev@vger.kernel.org, Xuanqiang Luo Subject: [PATCH iwl-net v2 0/2] iavf: fix two memory leaks Date: Wed, 15 Jul 2026 16:25:46 +0800 Message-ID: <20260715082548.56687-1-xuanqiang.luo@linux.dev> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Xuanqiang Luo This series fixes two memory leaks found by inspection in iavf. Release the ASQ command buffer when initialization fails and the QoS capabilities buffer when the device is removed. --- Changes: v2: Patch1: - Move the ASQ command buffer cleanup into iavf_free_adminq_asq() to pair it with iavf_alloc_adminq_asq_ring(). (Suggested by Jedrzej.) v1: https://lore.kernel.org/all/20260715061131.34420-1-xuanqiang.luo@linux.dev/ Xuanqiang Luo (2): iavf: fix ASQ command buffer leak on init failure iavf: fix QoS capabilities memory leak drivers/net/ethernet/intel/iavf/iavf_adminq.c | 1 + drivers/net/ethernet/intel/iavf/iavf_main.c | 1 + 2 files changed, 2 insertions(+) base-commit: 58717b2a1365d06c8c64b72aa948541b53fe31eb -- 2.43.0