On Wed, Aug 13, 2025 at 07:22:14PM +0900, Gustavo A. R. Silva wrote: > @@ -1866,7 +1872,7 @@ static void cm_process_work(struct cm_id_private > *cm_id_priv, > int ret;
I think if you are going to do this restructing then these lower level functions that never touch the path member should also have their signatures updated to take in the cm_work_hdr not the cm_work struct with the path, and we should never cast from a cm_work_hdr to a cm_work. Basically we should have more type clarity when the path touches are to be sure the cm_timewait_info version never gets into there. And to do that properly is going to need a preparing patch to untangle cm_work_handler() a little bit, it shouldn't be the work function for the cm_timewait_handler() which has a different ype. Also did you look closely at which members needed to be in the hdr? I think with the above it will turn out that some members can be moved to cm_work.. Thanks, Jason