[PATCH] nvmet-tcp: do not try to cancel uninitialized tls_handshake_tmo_work

Hannes Reinecke hare at suse.de
Thu Oct 19 06:07:53 PDT 2023


On 10/19/23 15:01, Jens Axboe wrote:
> On 10/19/23 6:53 AM, Hannes Reinecke wrote:
>> The TLS handshake timeout workqueue is only initialized if TLS
>> is configured, so we shouldn't try to de-initialize it
>> unconditionally.
> 
> What about the one in nvmet_tcp_tls_handshake_done()?
> 
That already is encapsulated by the config variable, so nothing to be 
done here.

> Please include a fixes line.
> 
Oh, sure.

Cheers,

Hannes




More information about the Linux-nvme mailing list