Re: Re: [PATCH v5 12/12] nvmet-fc: use RCU list iterator for assoc_list

From: Daniel Wagner
Date: Mon Feb 12 2024 - 05:31:18 EST


On Tue, Feb 06, 2024 at 11:22:49AM -0800, Keith Busch wrote:
> That said, the rcu_read_lock() seems like it should be moved to
> nvmet_fc_assoc_exits() since that's the only part reading rcu protected
> structures.

FTR, here is a fix:

https://lore.kernel.org/linux-nvme/20240212102940.11137-1-dwagner@xxxxxxx/