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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02333C67871 for ; Mon, 16 Jan 2023 17:38:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234940AbjAPRiN (ORCPT ); Mon, 16 Jan 2023 12:38:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235038AbjAPRhl (ORCPT ); Mon, 16 Jan 2023 12:37:41 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B478D4995F for ; Mon, 16 Jan 2023 09:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=GsEYU31uPgITeejODev3lyT2zUtc5JdTy1BZ27nlYCc=; t=1673889280; x=1675098880; b=HNq+TB2fageLSsA1gVm+tE3rPPjlzCbnfEB0b4kD6XNlTNt Ch3Jjq4S8VWkkadpURcFE/gc9HN29mWOoUh1Fuo4bYI/zNSPoYqAQZcqE0wIuwhrmb7cH+fkr1BRp m1uVTGZEGHo3LOT4srBEndYZ48X0OgJZaJHzsOx699cMmQTyLbbLv30kc5WrYgwizIzKeCKrkYSwj llosDnvsQ/01hSllyENSai3pBHG8zqOIVFIkNmwSBu6d5Jz/uNR4Ft0Mf8gnc4U644+/odVObirgq RQFANvCnK5ZVBabcJXl/NY5xIbGr9hYLujRbtseQSlhlEQYL7dTn3cS2/TIcHtJg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pHT48-003iXM-21; Mon, 16 Jan 2023 18:14:36 +0100 Message-ID: Subject: Re: [PATCH 4.14 097/338] wifi: mac80211: fix memory leak in ieee80211_if_add() From: Johannes Berg To: Greg Kroah-Hartman , "stable@vger.kernel.org" Cc: "patches@lists.linux.dev" , Zhengchao Shao , Sasha Levin Date: Mon, 16 Jan 2023 18:14:35 +0100 In-Reply-To: <20230116154825.125747074@linuxfoundation.org> References: <20230116154820.689115727@linuxfoundation.org> <20230116154825.125747074@linuxfoundation.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, 2023-01-16 at 15:49 +0000, Greg Kroah-Hartman wrote: > From: Zhengchao Shao >=20 > [ Upstream commit 13e5afd3d773c6fc6ca2b89027befaaaa1ea7293 ] >=20 > When register_netdevice() failed in ieee80211_if_add(), ndev->tstats > isn't released. Fix it. >=20 Please drop this wherever you still can - we just reverted it because it was actually based on broken analysis. johannes