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 EC8EDC433F5 for ; Mon, 28 Mar 2022 09:37:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234463AbiC1Jit (ORCPT ); Mon, 28 Mar 2022 05:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234405AbiC1Jit (ORCPT ); Mon, 28 Mar 2022 05:38:49 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D47B275DD; Mon, 28 Mar 2022 02:37:09 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id DEEC81C0B77; Mon, 28 Mar 2022 11:37:07 +0200 (CEST) Date: Mon, 28 Mar 2022 11:37:07 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: Pavel Machek , Jakub Kicinski , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Eric Dumazet , =?utf-8?B?6LW15a2Q6L2p?= , Stoyan Manolov Subject: Re: [PATCH 5.10 09/38] llc: fix netdevice reference leaks in llc_ui_bind() Message-ID: <20220328093707.GC26815@amd> References: <20220325150419.757836392@linuxfoundation.org> <20220325150420.029041400@linuxfoundation.org> <20220326200922.GA9262@duo.ucw.cz> <20220326131325.397bc0e7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20220328090830.GA24435@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > commit 2d327a79ee17 ("llc: only change llc->dev when bind() succeed= s"), > > > > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/comm= it/?id=3D2d327a79ee176930dc72c131a970c891d367c1dc > > > >=20 > > > > Should be in mainline on Thursday, LMK if we need to accelerate. > > > > IDK if anyone enables LLC2. > > >=20 > > > I'll queue this up now, thanks. > >=20 > > As the changelog says, this needs b37a46683739, otherwise there will > > be oops-es in even more cases. >=20 > If you look at the change, I think I already handled that issue. If > not, please let me know. Actually, AFAICT it will now oops even in the common (non-error) path in llc_ui_autobind(). Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmJBgcMACgkQMOfwapXb+vJ7kwCfX77lZKB0WVpAforccZEor1dI R44AoLzvalx/eqHPIpMf9PcTXa/KaM4G =JMyU -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5--