🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6217

Re: [PATCH net-next 11/11] can: protect the receive lists with a per-device lock

#6217
From: Marc Kleine-Budde
Date: Wed, 21 Oct 2026 23:05
44 lines
12115 bytes
--jpthgamqtyd76tr5
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: [PATCH net-next 11/11] can: protect the receive lists with a
 per-device lock
MIME-Version: 1.0

On 21.10.2026 23:59:17, Oliver Hartkopp wrote:
[...]>
> is a good hint from sashiko-bot and follows the raw_bind() concept.
> @Jakub: I've sent a V6 only for this single patch 11/11 here:
>
> Is this ok for you? I think Marc is offline and can not re-spin the PR ri=
ght
> now.
>
> https://lore.kernel.org/netdev/20261021215456.119268-1-socketcan@hartkopp=
=2Enet/

Give me a sec, I'm preparing the new PR.

Marc

--
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung N=C3=BCrnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

--jpthgamqtyd76tr5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSl+MghEFFAdY3pYJLMOmT6rpmt0gUCatlFSgAKCRDMOmT6rpmt
0oZoAP0SaZZLhRGzm3JXaVMJvKa4I3XMaSzZN3Uu5iQEoPU0mAEAzDwynpg/EdoO
+6QEAk7Tn1AZwuQFVtOL4yBhXK9muQg=
=szLL
-----END PGP SIGNATURE-----

--jpthgamqtyd76tr5--
Technical Details
Message-ID: <20261021-refined-free-wapiti-c46445-mkl@pengutronix.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350288-linux-kernel-netdev=dewy.ru
References: <20261021102756.1900679-12-mkl@pengutronix.de> <20261021205534.1620083-1-kuba@kernel.org> <47b77a2a-ff3d-4189-b633-54b1fad3cd1a@hartkopp.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350288-linux-kernel-netdev=dewy.ru
From: mkl@pengutronix.de (Marc Kleine-Budde)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 11/11] can: protect the receive lists with a
 per-device lock
Date: Thu, 22 Oct 2026 01:05:49 +0200
Organization: Usenet Network
Message-ID: <20261021-refined-free-wapiti-c46445-mkl@pengutronix.de>
References: <20261021102756.1900679-12-mkl@pengutronix.de>
 <20261021205534.1620083-1-kuba@kernel.org>
 <47b77a2a-ff3d-4189-b633-54b1fad3cd1a@hartkopp.net>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="jpthgamqtyd76tr5"
Injection-Info: usenet.network;
	logging-data="83050"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+4UdFu8TSQnRk+vWnuMvTWu6vZE= sha256:SwusiOoCqr4J8dy6uL9E9HVrE2hTk/MKJb5PmPBkGIk=
	sha1:LYNLVSMu5dTt1tvOMGV5vwLsrzs= sha256:o0LjDtzZ9FvFnDUqhzXMifDwkyXKSgpMZNhK8BzO0Hw=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 8335611112F; Thu, 22 Oct 2026 02:06:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=pengutronix.de
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Uz3UUV29Kpwb;
	Thu, 22 Oct 2026 02:06:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-350288-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id C7628111113; Thu, 22 Oct 2026 02:06:18 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 40FD22FC5E; Wed, 21 Oct 2026 23:06:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792623975;
	b=DJ7O8EM3ObQCC6b6+aCt0U+CfpZ2X7uXI9HrQNuaqiqxI/pS5e/0xbfh91tIpS2t10ih
	 ImKYomdBw6yD8BA5EWEbOwf58ZX4rPkfU4OcavDuOBrn/vlA+qVVdRbwHBdvprH2vILTe
	 hbpSd8uQ7qhLpLc1wDGfJW9TLYDCHe5Wfgi2QPZgC4C2CbMbVF7/K6uqvhzGohf1FaV5q
	 +ggpL9O+rojUI7NQrHI85hTpkVoApItn6B0Wq3VfAX9lZJfSPJJGtOELtYBG0yfsYb0X4
	 Nz+XlQ0p8D2hbDR/0dnJmVt9VZqmSIYshX+Cwc0TbIVquR0aVH8YX/REbl831sYj/Fg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792623975;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Received:Date:From:To:Cc:Subject:Message-ID:References:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=lmkRc1ilpjlEI5rgwtyJAYCWV++I6JYnoLUfj5+V158=;
	b=tlYMgQxxD+Sb36ZI33plKZIvW4bCzpqf6mid0wkOedmYQXDP8IyQ5VElooqdeyBcrCAd
	 up21Z5Mf2DwwGYgqaTaK+a6+Vtwd/9Py4AehN4yl5BRdyjYsww9iZmLaz447D4zV/Krwk
	 m72ML1qm11jxMwod284DCxaGmMSkERGMlzBPrDtD8IqNAd9u9Ee+KSOvFNcp7jPggQAFZ
	 gOF7Z4DujxNgibqH5vjKmM5jKPxJYTivibN3jAX15Vo1Ygu1ftEaqqwLlClXmNu58sLb0
	 lM1M4s1ktS4hFhHNE1+qA0NwydRuRnuQ83FWxd4x+s1opqUDKl9dA+sLfsjyHOqmnLw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=HonWFAeH;
	dmarc=none header.from=pengutronix.de;
	spf=pass smtp.mailfrom=pengutronix.de;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D9D5606A320;
	Wed, 21 Oct 2026 23:06:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=HonWFAeH
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=185.203.200.13
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792623959;
	b=cvJ8tStogH0HPR2qdeXlhrumRakx26CsIlBb0YRWxnwn37QzaOBYw3bO+VqZIeCWSLO9
	 /8EYXD09GN3GfmPXvuxH36Fb9sAqKJQsqSz0zzyS97Bz/RINSSIA1/u0JjPTA1+UbeOft
	 7NKGzI3WAUyi/on9fdQvC6/HmbAYGUmNYbw7ZEnW79T4ltk7q7Ae1l3p7ybhDGFCECi6/
	 KZPSaES0+Vg4n/be0kyAksLPctTev2+6JCQ2X8ubZvzL1fyn616N8VehqA2tiXilLgTyX
	 359u3s2GgLFhI81Qy7JGEQBzcJVKLF5aATufNdScCpyUy9GjyFpMpDtXixnTZ/0YBmw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792623959;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Date:From:To:
	 Cc:Subject:Message-ID:References:MIME-Version:Content-Type:
	 Content-Disposition:In-Reply-To;
	bh=lmkRc1ilpjlEI5rgwtyJAYCWV++I6JYnoLUfj5+V158=;
	b=Z2jZxDmf2v0g8wAv9B6tinriAdz1mY/e5QaRlN0rDENZblEcyu2qdslHbPENXqaJeKzG
	 vAy9sNYr39a6UcqDKswK01pO6PSrsdvCg6ipRYHftjD78H6ArNqZwOVgAjjLWzyI657P2
	 /GWz5vcrc3UO2gyZ7rMGQU8pSFxItyrPwu4TXV0XWrKLPcw+Wowlv0mSwhFBG0Cxy+8qS
	 fV568r6tXZ+UVZrml7D6kH6SwqExna8OGtoPAlShHEcvyjwsf2Yf3JXe2QZHX59zf7zlQ
	 i17amtMI9hp27VMFtS8136SdF48FNpJusuWLyjJKEUHJd+94gg18DKbE+O/cOE0ZRWg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=pengutronix.de;
	spf=pass smtp.mailfrom=pengutronix.de;
	dkim=pass header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=HonWFAeH;
	arc=pass header.oldest-pass=0 smtp.remote-ip=185.203.200.13
X-Received: from mx1.white.stw.pengutronix.de (mx1.white.stw.pengutronix.de [185.203.200.13])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 434D4606A31A;
	Wed, 21 Oct 2026 23:05:56 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 434D4606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de
X-Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2])
	(Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de)
	by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id CE6D3200073;
	Thu, 22 Oct 2026 01:05:50 +0200 (CEST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1792623950;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=lmkRc1ilpjlEI5rgwtyJAYCWV++I6JYnoLUfj5+V158=;
	b=HonWFAeHHE/efe9MC5hvvGvtRAPIsswP+o648pCp2tssrtcfhUCSw4ex1znIXsFeYyGIAP
	S9e7bpTrTZ+NEJegEqrDncCuvbQYp6F0KApuP4069EU4YLNItRPQqj9fCmyLwDkmCIf2GY
	0xgzgza6rDqB+b5knH6zbj/zDDpS8Qy4NWZY9CylympelNH+1Rsygp3Sl9Fy//PRadMUiB
	fwn5cb/dmv4ajpYIWRXJACF9uR1VDvEwcRH8CBAFUib7adSQo8+TWafPI48ilarEz/rCFc
	Cm2sUWU37f0jMySP+wacf6YfgenB03svbhaBBYrsM/ML/G6AmJkzRiuZYPeldg==
X-ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1792623950; a=rsa-sha256;
	cv=none;
	b=dTzJmrFh+TqPkvY3VqKaFvMWbn2kzGZmmMbKvJXRBEPSj0mMdYT/YhgBHFCSacZ81IsDXG
	b3JxMKCX5LvgwAQgk6bm59oLJmJi+0wOyHY0lLI8aBBJzw85ZKORJiISSVsuNJ9zsmfztK
	3L7XeyJ1N4Kh77hIMt+3iFMvsw8yfn9XaKVKunqjT2v4Ypk7jKeY7bcO41ci3oPMJyoxlK
	F3mQN18TesoCRFKl9L3HIxD1G1LrQp9iXs37sKxDTOvP74J3Xa1x3o7MGjxx8d8JAVONp2
	acc0I3SpVyB3bscXSf3i6/6GUN20AJpBz1sipF5vSYE1Bjrn37XxywCdPizdXg==
X-ARC-Authentication-Results: i=1;
	ORIGINATING;
	auth=pass smtp.auth=relay-from-drehscheibe.grey.stw.pengutronix.de smtp.mailfrom=mkl@pengutronix.de
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1792623950;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=lmkRc1ilpjlEI5rgwtyJAYCWV++I6JYnoLUfj5+V158=;
	b=XLZyogz1AEO9BpG4LsZ9zQvjJnLwFdJe06Qq5UNqDQmX2wafA5lCfKLKEnO30rXZfigdVc
	jxCAaZgaPtfKAMAOC4wMmw6OSuZ2GzBAfkxmcLtGGnIAld8uxn24H3YuWy1cJvQlBwu1Wl
	GEFb5dfU9Le/g+qwVxoz0c79CERFLImfnZAs81Odg6CCKkkMMa1D0YSt4FTdnahvDHh+YZ
	7yhmy2fJ03T9Faag7StMhp60FmR2Ozqqf6MZZX3mvzrUynIHTTHG38PopIHvo9ItpSMHFj
	1UasXYKFiK/GcNztjrIx7kvOQ7+frpcBS6zK5BWFX2cO75x9fO0P6ENGhFbgHw==
X-Received: from moin.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::7b] helo=bjornoya.blackshift.org)
	by drehscheibe.grey.stw.pengutronix.de with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.96)
	(envelope-from <mkl@pengutronix.de>)
	id 1xJfNW-000cVy-2R;
	Thu, 22 Oct 2026 01:05:50 +0200
X-Received: from pengutronix.de (unknown [IPv6:2a03:2260:2009::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	(Authenticated sender: mkl-all@blackshift.org)
	by smtp.blackshift.org (Postfix) with ESMTPSA id 1DDEF5D06CC;
	Wed, 21 Oct 2026 23:05:50 +0000 (UTC)
X-Cc: Jakub Kicinski <kuba@kernel.org>, netdev@vger.kernel.org, 
	davem@davemloft.net, linux-can@vger.kernel.org, kernel@pengutronix.de, 
	runyu.xiao@seu.edu.cn, stable@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <47b77a2a-ff3d-4189-b633-54b1fad3cd1a@hartkopp.net>