Re: [PATCH 6.18.y] can: isotp: fix timer drain order, wakeup handling and tx_gen ordering
Oliver Hartkopp <[email protected]>
| Newsgroups | org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On 06.08.26 13:36, Sasha Levin wrote: > The skb->hash echo tag doesn't work here. isotp_set_skb_uid() is only > called from the TX paths, never from isotp_send_fc(), so FC loopback > echoes arrive with skb->hash == 0 and alias the so->cfecho == 0 "nothing > pending" sentinel. Upstream is fine because d4fb6514ff8e stamps the UID > in can_receive(), but that commit isn't on 6.18. > Ouch! Thanks for catching this!! I just focused on isotp.c - my bad. What would be your suggestion to solve this issue? 1. create a 2-patch series which applies d4fb6514ff8e first? 2. turn it back to the original if (so->cfecho != *(u32 *)cf->data) code? The latter was tagged by sashiko-bot to be not safe enough. Many thanks, Oliver