From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7625830F92E; Fri, 20 Mar 2026 09:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774000481; cv=none; b=WcwkBQ37blZ2FCimvbunqbPGtFrjl610UKe/K8cA0Jy7aF52pUhP87AVmryF5yCXi2XQm/ojryvGDRYGbBv/jdTBCyflgmoAwucix99uzJbMDZnydLs+dOqS1yzDylsu86Er+oYMSBJyC/TTUIBJPRf49DoBkbi2jCdZkgpHUUs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774000481; c=relaxed/simple; bh=Jl2syGIOY+PRgps6OcsmUhCbzfxV9LFWKi72pDr/B7g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KuHP4JG6VB0h3pfYkhGBjBMFwSmW5wcpcQJKEnnGVvcvF6hF3A5u1y8CQK0B9BEE6uyp8F8mZTYoRkR4C9CqjwFa/2VnvzTpkliQuCZYes+xGssmqP3ovt/5ILIa1aWwtuK/kQwcxM6/0BlCkGO/Ld/hV3zDRC9QNIhmXBu/oGk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=StLJ+aDp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="StLJ+aDp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA73BC4CEF7; Fri, 20 Mar 2026 09:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774000481; bh=Jl2syGIOY+PRgps6OcsmUhCbzfxV9LFWKi72pDr/B7g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=StLJ+aDpKTKw/NknAg2kJHhi9QTayNKMtfod/fIYsyuVvk5/tC5QEcdYdVwoIKFqc BU9OOc5I/mHNjPAYG0mafc5o+E1AKW0Of588mtDfoRmP87Xua0UVD5GH5o4Ui3BvJb 0JVbJi3/gCwC6VXT30cUCu4a1F8FUMry6vc3kEwN6s7QrJMvQDg/l5EdIIDtCTr+Mq SLVuW29jbjCaOt8WZLTyraAL+9DKNsqdl8Nd4/mI5UtQp4wVZ0UCMjQPEhDw8nSO+R N02yJirk6Y4YT/id1yLJrs452LExaBqzyDocB9ZubvW6sGW1u50ZH6jSR60A4OCjXq mqjdq1WQm/YNA== Date: Fri, 20 Mar 2026 10:54:38 +0100 From: Lorenzo Bianconi To: Qingfang Deng Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Pablo Neira Ayuso , Simon Horman Subject: Re: [PATCH net v2] net: airoha: add RCU lock around dev_fill_forward_path Message-ID: References: <20260320094315.525126-1-dqfext@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0ZwJLIw+IKx6fh0d" Content-Disposition: inline In-Reply-To: <20260320094315.525126-1-dqfext@gmail.com> --0ZwJLIw+IKx6fh0d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Since 0417adf367a0 ("ppp: fix race conditions in ppp_fill_forward_path") > dev_fill_forward_path() should be called with RCU read lock held. This > fix was applied to net, while the Airoha flowtable commit was applied to > net-next, so it hadn't been an issue until net was merged into net-next. >=20 > Fixes: a8bdd935d1dd ("net: airoha: Add wlan flowtable TX offload") > Signed-off-by: Qingfang Deng My acked-by tag is still valid. Acked-by: Lorenzo Bianconi > --- > v2: update fixes tag to the flowtable commit > - https://lore.kernel.org/netdev/20260319032649.337812-1-dqfext@gmail.c= om/ >=20 > drivers/net/ethernet/airoha/airoha_ppe.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/ethernet/airoha/airoha_ppe.c b/drivers/net/ether= net/airoha/airoha_ppe.c > index ec5ce41dad80..02deb739a1c7 100644 > --- a/drivers/net/ethernet/airoha/airoha_ppe.c > +++ b/drivers/net/ethernet/airoha/airoha_ppe.c > @@ -227,7 +227,9 @@ static int airoha_ppe_get_wdma_info(struct net_device= *dev, const u8 *addr, > if (!dev) > return -ENODEV; > =20 > + rcu_read_lock(); > err =3D dev_fill_forward_path(dev, addr, &stack); > + rcu_read_unlock(); > if (err) > return err; > =20 > --=20 > 2.43.0 >=20 --0ZwJLIw+IKx6fh0d Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCab0ZXgAKCRA6cBh0uS2t rIHvAQD90h1oFpNB/bcKbl+OiAGcnrq7Sftw2sUNxiaPF+eHCQEA+5pfuDqzlv5O 7FsrkvEOxEwG4zAUe87AZPXpJz1mZQI= =bKT5 -----END PGP SIGNATURE----- --0ZwJLIw+IKx6fh0d--