On 2024-01-22 11:10:38 [+0100], To Oliver Hartkopp wrote: > > Would a spin_lock() or spin_lock_bh() be an alternative to lock this update > > against the modification execution in can_can_gw_rcv()? > > Yes, that is what locks are for. You would have to put the lock outside > of ccgw and acquire it before reading or writting ccgw. Hi :) > > Best regards, > > Oliver Sebastian