libfc: Fix for double freed.
Subsystems (2)
PATCH 1/1 libfc: Fix for double freed.
-Fix added for '&fp->skb' double freed.
Signed-off-by Javed Hasan <[email protected]>
drivers/scsi/libfc/fc_disc.c +0 -2
@@ -634,8 +634,6 @@ static void fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp,fc_frame_free (fp); out:kref_put (&rdata->kref, fc_rport_destroy); -if (!IS_ERR (fp)) -fc_frame_free (fp); }/**
Signature · 1 line
1.8.3.1
Martin K. Petersen
AppliedQuoted 1 line · Javed Hasan
-Fix added for '
&fp->skb' double freed.
Applied to 5.9/scsi-fixes, thanks!
[1/1] scsi: libfc: Fix for double free()
https://git.kernel.org/mkp/scsi/c/5a5b80f98534
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering