Re: [PATCH] mctp: route: hold key->lock in mctp_flow_prepare_output()
From: Chengfeng Ye
Date: Thu Mar 05 2026 - 22:25:43 EST
Hi Jeremy,
> For v2 (as requested by Jakub), can you correct my email address? I'm
> jk@, not jeremy@.
Sorry indeed for this mistake, I corrected the email address for the
new patches.
> You could shift the mctp_dev_set_key() to an else block here, and avoid
> the goto. Following that, it may be more readable if you invert the
> logic (if (!key->dev) ...), but I will leave that as your call.
No problem. I missed this message while making the v2 patch, so the
change is addressed in v3 (https://lkml.org/lkml/2026/3/6/201).
Best,
Chengfeng