From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: linux-can@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>,
Robin van der Gracht <robin@protonic.nl>,
kernel@pengutronix.de, Oliver Hartkopp <socketcan@hartkopp.net>
Subject: Re: [PATCH v15 0/3] can: j1939: make module more robust
Date: Fri, 27 Nov 2026 09:32:50 +0100 [thread overview]
Message-ID: <awlAMlRxN4mly85w@pengutronix.de> (raw)
In-Reply-To: <db630610-dba5-4f5b-bd61-09d333132e34@I-love.SAKURA.ne.jp>
Hi Tetsuo,
Thank you for your work!
On Fri, Nov 20, 2026 at 08:35:22PM +0900, Tetsuo Handa wrote:
> Hello, j1939 maintainers.
>
> On 2026/11/18 0:56, Tetsuo Handa wrote:
> > This series is intended to address the following problems.
>
> Both sashiko-bot@kernel.org and netdev-bot+sashiko@kernel.org are almost
> pleased with this v15 patchset.
>
> https://sashiko.dev/#/patchset/98c16a74-5ea7-476e-ab36-c98fb77b6be4%40I-love.SAKURA.ne.jp
> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/98c16a74-5ea7-476e-ab36-c98fb77b6be4@I-love.SAKURA.ne.jp
>
> Although netdev-bot+sashiko suggested appending below diff to [PATCH v15 3/3],
> it is not worth reposting as v16 without waiting for your response.
>
> diff --git a/net/can/j1939/j1939-priv.h b/net/can/j1939/j1939-priv.h
> index 28f6fa6029ec..f33f40a4c23d 100644
> --- a/net/can/j1939/j1939-priv.h
> +++ b/net/can/j1939/j1939-priv.h
> @@ -69,7 +69,7 @@ struct j1939_priv {
> netdevice_tracker dev_tracker;
>
> /* list of 256 ecu ptrs, that cache the claimed addresses.
> - * also protected by the above lock
> + * also protected by the "rwlock_t lock" above
> */
> struct j1939_addr_ent {
> struct j1939_ecu *ecu;
>
> Regarding the deadlock problem in transport.c , I need some trial-and-error
> for making a workable patch. Therefore, I want to avoid needlessly re-posting
> the whole patchset.
Agreed. A separate patch for the j1939_session_cancel() deadlock is the
right way. You can keep working on it, but please do not post it until
I have answered on this series.
> Will you apply at least [PATCH v15 1/3] and [PATCH v15 2/3] now?
> (If you don't mind lack of above diff, [PATCH v15 3/3] together please.)
Sorry for the slow answer. The patches are not ready to be applied yet.
The bots found no real bug in v15. They only found the old
j1939_session_cancel() deadlock and one small comment issue in 3/3,
which your diff already fixes. So for v15 nothing is left from the bots.
What is left is my own review: I am going through the patches in detail
now, and I need a little time for it. Please do not send a new version
of this series until I have answered.
About the delay: my mailbox is full of Sashiko reviews and new versions
of other patch sets, from many developers. I do not have the capacity to
follow all of it, and I miss things. If you think I am stuck on your
series, please ping me on the list, with a subject like "ping for
Oleksij". Then the other maintainers can see it too, in case I am not
available.
Some general background on why the bar is high. As you have seen with
this series and with your earlier patches, Sashiko and netdev Sashiko
review CAN patches twice. The first time is when the author posts them.
When a patch has no open findings, Marc collects it and sends it to the
net or net-next tree in a pull request. That pull request goes through
all the checks again, and also through NIPA. If one patch gets a valid
finding there, the whole pull request is sent back, and Marc has to send
it again without that patch. We ask for your understanding: a patch can
only go in when every finding is either fixed or answered on the list,
for example by showing that it is pre-existing.
Also, the number of patches has grown a lot, mostly because of advanced
tooling. This tooling helps to find bugs, but it does not yet help as
much to fix them or to write good patches. Most reviewers now look at a
patch only after it passes the checks. With this many patches, they
could not do anything else.
In general, small patches and small series that each fix only one
problem work best at the moment. They are easier to review, and they can
be applied one by one. v15 1/3 is not like that yet. It fixes three
problems in one patch.
Regards,
Oleksij
next prev parent reply other threads:[~2026-11-27 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 15:56 [PATCH v15 0/3] can: j1939: make module more robust Tetsuo Handa
2026-11-17 15:56 ` [PATCH v15 1/3] can: j1939: fix possibility of UAF Tetsuo Handa
2026-11-17 15:57 ` [PATCH v15 2/3] can: j1939: fix "struct j1939_ecu" refcount leak Tetsuo Handa
2026-11-27 11:12 ` Dmitry Antipov
2026-11-17 15:57 ` [PATCH v15 3/3] can: j1939: fix possibility of hard-lockup/deadlock in j1939_ecu_timer_cancel() Tetsuo Handa
2026-11-20 11:35 ` [PATCH v15 0/3] can: j1939: make module more robust Tetsuo Handa
2026-11-27 8:32 ` Oleksij Rempel [this message]
2026-11-27 12:01 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awlAMlRxN4mly85w@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=kernel@pengutronix.de \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=robin@protonic.nl \
--cc=socketcan@hartkopp.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox