> That's not what I meant. > > My concern is release_work races with accept_work. > > nvmet_tcp_alloc_queue is called from accept_work context and still accessing the queue struct after setting sk callbacks. I see, we can move the queue_work to set_queue_sock then.