| Date | Tue, 19 Dec 2023 09:00:13 +0100 | Subject | Re: [PATCH v3 10/16] nvmet-fc: hold reference on hostport match | From | Hannes Reinecke <> |
| |
On 12/18/23 16:30, Daniel Wagner wrote: > 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. > > Signed-off-by: Daniel Wagner <dwagner@suse.de> > --- > drivers/nvme/target/fc.c | 2 -- > 1 file changed, 2 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.de>
Cheers,
Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Ivo Totev, Andrew McDonald, Werner Knoblich
|