🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11549

Re: [PATCH net 01/15] can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

#11549
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 09:10
57 lines
10744 bytes
Hello:

This series was applied to netdev/net.git (main)
by Marc Kleine-Budde <mkl@pengutronix.de>:

On Tue,  3 Nov 2026 21:30:22 +0100 you wrote:
> From: Vincent Mailhol <mailhol@kernel.org>
> 
> Sending a PF_PACKET bypasses the CAN framework logic and can directly
> reach a CAN driver's xmit() function. The PF_PACKET framework only
> checks that skb->len does not exceed the net_device MTU.
> 
> For a CAN device that is not CAN XL capable, anything above CANFD_MTU
> (72 bytes) is therefore dropped before it reaches the driver. However,
> CAN XL frames are variable length. can_is_canxl_skb() accepts lengths in
> the range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to
> 2060 bytes.
> 
> [...]

Here is the summary with links:
  - [net,01/15] can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices
    https://git.kernel.org/netdev/net/c/0fce44e29fce
  - [net,02/15] can: isotp: check the frame type, not just the length
    https://git.kernel.org/netdev/net/c/933bf0fcb325
  - [net,03/15] can: skb: make echo skb freeing safe in any IRQ context
    https://git.kernel.org/netdev/net/c/d74307196492
  - [net,04/15] can: skb: make CAN skb allocation failure paths IRQ-safe
    https://git.kernel.org/netdev/net/c/d4b616a38118
  - [net,05/15] can: dev: can_put_echo_skb(): free skb on invalid echo index
    https://git.kernel.org/netdev/net/c/b4ebcbbf66ba
  - [net,06/15] can: replace ARPHRD_CAN type checks with can_get_ml_priv()
    https://git.kernel.org/netdev/net/c/962947b69589
  - [net,07/15] can: isotp: check the return values of can_rx_register() in isotp_bind()
    https://git.kernel.org/netdev/net/c/874f5f14cf62
  - [net,08/15] can: protect the receive lists with a per-device lock
    https://git.kernel.org/netdev/net/c/0f3ad9ab40e3
  - [net,09/15] can: raw, isotp: copy socket options outside of lock_sock()
    https://git.kernel.org/netdev/net/c/43c973a0887d
  - [net,10/15] can: proc: reset pkg_stats atomics individually
    https://git.kernel.org/netdev/net/c/12297f855bbd
  - [net,11/15] can: proc: skip stats calculation after reset in can_stat_update()
    https://git.kernel.org/netdev/net/c/01b19ed9fa03
  - [net,12/15] can: proc: remove pointers from CAN specific proc output
    https://git.kernel.org/netdev/net/c/b98179a6e194
  - [net,13/15] can: dev: can_fill_info(): don't wake up controller if interface is down
    https://git.kernel.org/netdev/net/c/75332c410c81
  - [net,14/15] can: dev: can_tdc_fill_info(): don't read automatic TDCV if interface is down
    https://git.kernel.org/netdev/net/c/f5128a767261
  - [net,15/15] can: peak_usb: pcan_usb_fd_decode_buf(): accept short uCAN end-of-list records
    https://git.kernel.org/netdev/net/c/2d4c272e816a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179386981230.3522571.13202967143712215658.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357159-linux-kernel-netdev=dewy.ru
References: <20261103204305.3211144-2-mkl@pengutronix.de>

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-357159-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 01/15] can: dev: can_dropped_invalid_skb: drop CAN XL
 frames on non-CAN XL devices
Date: Thu, 05 Nov 2026 09:10:12 +0000
Organization: Usenet Network
Message-ID: <179386981230.3522571.13202967143712215658.git-patchwork-notify@kernel.org>
References: <20261103204305.3211144-2-mkl@pengutronix.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3599220"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:LufFti2EQb773oZurIR99OK+cE0= sha256:Q1ejF0hl7lBU2I+HmGG+LNozcCqYCKIia4n8wc0bnAI=
	sha1:gCemhK1IfqPlSNCI2w69I8KOV5w= sha256:fJtXxaw+1JkgxxYt8hDkQHulOR5xdqTCLdBWI/gnon0=
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 B49C7112EE0; Thu,  5 Nov 2026 12:14:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 a5qQ5unVNc4v;
	Thu,  5 Nov 2026 12:14:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-357159-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9B5A9112ED7; Thu,  5 Nov 2026 12:14:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 602A233B79; Thu,  5 Nov 2026 09:10:15 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793869815;
	b=N9LlzihKAaNHjyaJC5gmD4gfwshU2B7I8qBg/TU71nVqpnNSz+sjFZi40TYtZxj+y5rm
	 OqqbX8ewAns0OyJGfSN13QbZJp+Y/pAUdK2waUXriwpEFza7DQPv4yvf11V0fpwqPcPHL
	 H0XccrFXG2NJ3aAXxD0vaDXojiAlm4+lFz0eyNheQG8vKnoDIwMFSWQxZYdUcRluwVW2t
	 Kl6GMll8MunVTZ9ctj418TrkePy8heNG6eFJnePuVE0vlRFfKGLQj13gbqdICWOO4ceXd
	 LsWH9m2IMyXPRFW2WIqbO7yl6VsmIRyG2QYz5Owq17I+jFdpqDlUy5LQZHU4TX8vabg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793869815;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=XUtq8qWZBzsRZgFiEIjZ4AQV2UqPpDHNXpMykqYphTw=;
	b=clzDccjyseFp4trwuu1BIWKXN0BCOEjcEbbnow9MV9U88v0c04AMzvD2gMf8fIRUHHD1
	 MMeoiu13J7bJFjG97isdse4+e+0T3uv551XJpj6Hn1v+0Y/JhEna4fUb9MYi6Mc59tDY7
	 VK0NkZZtPM6lAF6+XGx3j8WhFBrIuseMhmqgBtbC5uKUgc7E9yg94+BwRmGPc+GuSEcCU
	 WG4vqyIlFk3KnSH4mJn/nPMlHcvwADjsPz5rOfyiGIjO+4w/iJo5zuhvLydmQCB/aqltH
	 n5fQgFe0MBApMjKdnbuHuC8NnDCyB5xhzWRQWfFfXMsw1rY2JeLCWxuqds+rhaNHM/A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WEAsVhXr;
	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 3699E606A32F;
	Thu,  5 Nov 2026 09:10:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WEAsVhXr
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793869814;
	b=UlT3MoilpoVE2d7jQRvSoY0mQwY95+Hk3cFzN6C1lfL2tCHBkKTlG1gn022lFEocGvM5
	 v1myuM05h3epYyVByija4OCpuuXn+rf/ZNdIigtYdp8iNGgOsHCaQGJ8Dmuo12H6vcDFY
	 k9/RUT5cTtEeXSdvI+/xQB5yHMWYaPIhvg8xOrYcPEI3UbdmVgETHVa1xrcZv4ZeArWwh
	 P65/aaLTuvjHK+oGLrk8vujmkv6b7Gu8q/GF1jXCvFMviuMgrYZJXU6rhLIvI/tZ5qqnn
	 dzbb7++Zho8gztqACE1QldC1ydy+IpLJ5J24hmYlNUb8rbaeo32TxsjJPb0tTgl+lsA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793869814;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=XUtq8qWZBzsRZgFiEIjZ4AQV2UqPpDHNXpMykqYphTw=;
	b=zr9GE36IQAE6kPTsb9dRINpbZE+SjnKTm+ZQQ3v2J06+/Q591Jk7Ko22Y8c3JFwzozMj
	 U+b4obeVT3n0TIn3IlgqDJfVVJtRxpeCBl3eHnMGlT3SZqvScf/doNJbfLlbKfiZCRFZF
	 dfmSc6e+gt7MotlXWQngLLllWTynJVe+lnMTOyc7QICqOHM+Q5ej37G3lCobC1F22jJPa
	 lOfyEg+S2gGSxgg+SX1jb9odXipXob+sdfkEioScKgJ6+jZg3y/dvDzqnMblsBccEA9O9
	 b/YF5eUFPaiuWmzPkUrAhG86V4wUFesb9t1xVoufNBQGuYGT1Mgc+gH4paSFgv7HrLw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WEAsVhXr;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12F87606A31B;
	Thu,  5 Nov 2026 09:10:13 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86FFD1F000C1;
	Thu,  5 Nov 2026 09:10:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793869813;
	bh=XUtq8qWZBzsRZgFiEIjZ4AQV2UqPpDHNXpMykqYphTw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=WEAsVhXrZjMr9iXlAFtOIcVk7EYBYDA9ipugAjWvmoV3mvrpsWaTLuEslEVtd523P
	 7pA0EJo2pyIBfr+Pq4/Vka2aYAx+QSG3RCG2FKHVDwLLzQup7+stMHw0QLDQI4mIcG
	 GD17MDImSm7N5WgAm/BI4HHymoTgF19EAOqayDQov4kxTWLO/KN9nZjQjckLh3J6RN
	 xdwYTWp3Lh8K4Cu1JZ1+qbGG4uWiJvmMoQnmsy8hVfgM8HF2bwTuzugxPDVfvRhxOq
	 jmPG/7sX9vQs7J2k/R3/EV45LTWRQgf4T6NKd8wFABnBrYNNxKa3b82zf2KAWHm2/n
	 KjWbGvE6+VoOw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7D46A391AFA5;
	Thu,  5 Nov 2026 09:10:13 +0000 (UTC)
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: <20261103204305.3211144-2-mkl@pengutronix.de>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
 linux-can@vger.kernel.org, kernel@pengutronix.de, mailhol@kernel.org,
 stable@kernel.org