[PATCH] nvme-tcp: proper handling of tcp socket closing flows

Sagi Grimberg sagi at grimberg.me
Thu Jan 28 19:07:20 EST 2021


> 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.



More information about the Linux-nvme mailing list