Re: [PATCH v3] nvme: rdma/tcp: fix list corruption with anatt timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/27/21 6:25 PM, Christoph Hellwig wrote:
> On Tue, Apr 27, 2021 at 11:33:04AM +0200, Hannes Reinecke wrote:
>> As indicated in my previous mail, please change the description. We have
>> since established a actual reason (duplicate calls to add_timer()), so
>> please list it here.
> 
> So what happens if the offending add_timer is changed to mod_timer?
> 
I guess that should be fine, as the boilerplate said it can act
as a safe version of add_timer.

But that would just solve the crash upon add_timer(). We still have the
problem that the anatt timer might trigger just _after_ eg
nvme_tcp_teardown_admin_queue(), causing it to hit an invalid admin queue.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		        Kernel Storage Architect
hare@xxxxxxx			               +49 911 74053 688
SUSE Software Solutions Germany GmbH, 90409 Nürnberg
GF: F. Imendörffer, HRB 36809 (AG Nürnberg)



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux