Patch "can: isotp: add local echo tx processing for consecutive frames" has been added to the 5.15-stable tree
Quoted 64 lines · Sasha Levin
Quoted 34 lines · Oliver Hartkopp
Hi Sasha,
Quoted 11 lines · Sasha Levin
Quoted 7 lines · Oliver Hartkopp
Hello Sasha/Greg,
the way how the can-isotp patches are currently applied to the stable trees 5.17/5.16/5.15/5.10 is FINE.
This means 5.15 now has a functional improvement (as only stable tree). But that should be fine too.
Are they all a functional improvement? or are some fixes?
Only upstream commit
4b7fe92c06901f4563af0e36d25223a5ab343782("can:
isotp: add local echo tx processing for consecutive frames") is an improvement, see:All others are fixes.
You now added this improvement to 5.15 which then needs this original fix, which you correctly applied:
The other stable kernels 5.17, 5.16, 5.10 do not contain the improvement and for that reason I sent an adapted fix, which Greg applied to those kernels, e.g. in 5.17:
Quoted 8 lines
I originally sent this adapted patch to both of you on 02.04.22 11:12 ("[PATCH stable v5.10-v5.17] can: isotp: sanitize CAN ID checks in
isotp_bind()")So you could either leave it as-as and only the 5.15 has the improvement OR you remove the two first referenced patches from the 5.15-queue and add only the *adapted* "sanitized CAN ID ..." patch which is applied in 5.17 and the other series. Your choice ;-)
Looks like we had a mismerge in 5.15. I've dropped the feature patch and picked up your backport instead of the one that was in the tree.
Quoted 1 line
Sorry for this big pile of patches this time :-/
Fixes are good :)
Quoted 13 lines
Finally another hint:
All stable trees (5.10, 5.15, 5.16, 5.17) already contain the patch "can: isotp: support
MSG_TRUNCflag when reading from socket" (upstream commit42bf50a1795a185).E.g. see
This patch is needed but unfortunately introduced a regression which is fixed with this follow up patch here:
Quoted 7 lines
Quoted 5 lines
"can: isotp: restore accidentally removed
MSG_PEEKfeature"So this last patch needs to be added to 5.10, 5.15, 5.16, 5.17 too.
I've queued it up for the above trees.
Thanks for fixing up my merge mess here, much appreciated.
greg k-h