From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434040; b=JVPO5ZhcDQ6zaEC3KrwI3OzKD0fGeflQz2XrlTJPWYTkfRXjTerjPsp5mBx/xJ5FbDOD tJ8U3Z4CcIe9bS7cr18gvZg9l+A6+Yg2W3yw7aSjS+2zegEsBLfGTFLd/5w8DAW8oqr7Q chEsqkLu23fn2nDldvDeXNRyJ4f+1nv6jp3wABcPM+Pd+66s6nOegHWVc/Ty2eYTA19Zm TVwS4UmyUi9GlnQ9/02ef7Hjr6aRvsewZ/TYbohHtjNH60rUdtFI7JWSKsnhd7+pjv5qD uNqAuZOsosN8z1625ioPwsGNozQh8ODkm15A8ynkqa76+tUJwttcL8LuBKKe+rMrEAw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796434040; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=Gs4DT66Lia9dQ3e88ieOZxCkDGQ010HZ7Cmcjcy4O7Q=; b=o2vhvonUKflM9rYxGtR2tydmwWIwRDOF7wVvZLcfGzfOx35M13secyfZshHe3Q3AmYVX MqJ4ZjgWRZvLUbwekJF+f9dEP4a/RPCkQfFBwRIf8zTeEe9opig4AGPV1NmrDSWeCxqP5 /eqzVxac80zkCc9H9tIBqXRd2A2TWLYfJUcfnVtyVNUC1Sb0faMNn8NI6qo4BwCK2AMH/ KjWDuy9XVVV9r17i3Doi1P4s2pcW5e2w5npyEeWr/eoRvwb1q3wa6ybeUZIzF4aL0hTno L1fhdNpIbhl2A2tjjgKxYjOeZNVj5yKriumerh/qTWBW3GIKKj4FY4dlXJ8hyQqIJuA== 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=Igjk7DeJ; arc=none smtp.remote-ip=100.103.45.18 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 B22C4606A322 for ; Sat, 5 Dec 2026 01:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Igjk7DeJ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C8011F0092B; Sat, 5 Dec 2026 01:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796434040; bh=Gs4DT66Lia9dQ3e88ieOZxCkDGQ010HZ7Cmcjcy4O7Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Igjk7DeJpEGVzAUbp7CNvZLwrKatuOYgwAMpWiStpQhQ/G0Tci3FaSDHZhd5KEm7u Cs7V+VZ2a+LfmKeJtkceiuneapb0Mmlxw+kt0QvfgJ7krZ95IC4hvDRyCgfhv48fLp 1Sp8j1zBWavTMsdNlxjbLvpRDw9I+UGmmGngK2sUrsxvvSIwP+gOZxstXkWWivknUn 9Wmg4UFml9nzNwgkypwDHwqP4/N3j8VJTw9FKIBJYKX2mpMw5eNC736j8rjOKNr0ZN QzSnRJCqfBtbfwsshPCQJ0Wnx0DZ4XFHNTiSBMS8FPvtJY+6M9iFROcf84+vVN9y9l F6sLwOmFbEozA== Subject: Re: [PATCH can-next v5 06/24] can: isotp: add the frame transmission time to the CF broadcast gap From: netdev-bot+sashiko@kernel.org To: socketcan@hartkopp.net Cc: linux-can@vger.kernel.org, mkl@pengutronix.de, kuba@kernel.org Date: Sat, 05 Dec 2026 01:27:19 +0000 Message-ID: <179643403967.3142.240155862086396062@kernel.org> In-Reply-To: <20261203-getsockopt-memcg-isotp-v5-6-bbe89b3d3b71@hartkopp.net> References: <20261203-getsockopt-memcg-isotp-v5-6-bbe89b3d3b71@hartkopp.net> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: linux-can@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] The commit message does not say whether the code change is a bug fix or a deliberate behaviour change. -- can: isotp: add the frame transmission time to the CF broadcast gap This commit changes the CAN_ISOTP_CF_BROADCAST gap in isotp_sendmsg(). frame_txtime is now always used, and force_tx_stmin is added on top of it when CAN_ISOTP_FORCE_TXSTMIN is set, which matches the flow control path in isotp_rcv_fc(). The commit also documents the gap and changes the stmin unit in iso15765-2.rst from microseconds to nanoseconds. > In CAN_ISOTP_CF_BROADCAST mode there is no FC and the gap is set in > isotp_sendmsg(). With the CAN_ISOTP_FORCE_TXSTMIN flag only the value of > the CAN_ISOTP_TX_STMIN socket option is used and the frame transmission > time is missing. [ ... ] > As the uAPI header isotp.h has always documented the stmin values in > nanoseconds, there is no Fixes tag for the documentation. [Severity: Low] Is the change to isotp_sendmsg() meant as a bug fix or as a deliberate change in behaviour? The commit message only explains why the documentation part has no Fixes tag. It says nothing about the code change. The either/or gap logic that this replaces came from 9f39d36530e5 ("can: isotp: add support for transmission without flow control"). The old "(STmin = 0)" comment suggests that choice was intentional. The "frame transmission time is missing" premise also looks weak. The next CF is only scheduled from isotp_rcv_echo() after the echo of the previous CF has arrived, which means that frame is already on the bus: net/can/isotp.c:isotp_rcv_echo() { ... /* start timer to send next consecutive frame with correct delay */ hrtimer_start(&so->txfrtimer, so->tx_gap, HRTIMER_MODE_REL_SOFT); ... } A later patch in this series, "can: isotp: add N_Ar timeout monitoring for FC", says much the same: "frame_txtime only remains in use as an extension of the STmin value for the gap between the consecutive frames". The other patches in the series either say "This is an intentional tightening of the uAPI and no bug fix" or carry Fixes: and Cc: stable tags. Could this commit message state its classification the same way? That would let stable backporters decide whether this timing change belongs in stable. -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261203-getsockopt-memcg-isotp-v5-0-bbe89b3d3b71%40hartkopp.net