diff options
author | Javed Hasan <[email protected]> | 2020-07-29 01:18:23 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-08-04 20:56:56 -0400 |
commit | ec007ef40abb6a164d148b0dc19789a7a2de2cc8 (patch) | |
tree | feaedfedfb3abc1206d2b854737cc9c78cddab5b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e95b4789ff4380733006836d28e554dc296b2298 (diff) |
scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
In fc_disc_gpn_id_resp(), skb is supposed to get freed in all cases except
for PTR_ERR. However, in some cases it didn't.
This fix is to call fc_frame_free(fp) before function returns.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Girish Basrur <[email protected]>
Reviewed-by: Santosh Vernekar <[email protected]>
Reviewed-by: Saurav Kashyap <[email protected]>
Reviewed-by: Shyam Sundar <[email protected]>
Signed-off-by: Javed Hasan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions