nvmet-fc: hold reference on hostport match
The hostport data structure is shared between the association, this why we keep track of the users via a refcount. So we should not decrement the refcount on a match and free the hostport several times. Reported by KASAN. Reviewed-by:Hannes Reinecke <hare@suse.de> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Daniel Wagner <dwagner@suse.de> Signed-off-by:
Keith Busch <kbusch@kernel.org>
Showing
Please register or sign in to comment