diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-08-20 13:43:09 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-09-10 21:19:55 -0400 |
commit | f96d279f0a5e53f4b96b16a5c08e2c75e139ba0b (patch) | |
tree | 281609ded73bf63bec5b7fba8ee49ceb4b7a3460 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7ce5eed0998c0b2884329a06f29d0251079fca62 (diff) |
scsi: fcoe: fix null-ptr-deref Read in fc_release_transport
In fcoe_if_init, if fc_attach_transport(&fcoe_vport_fc_functions)
fails, need to free the previously memory and return fail, otherwise
will trigger null-ptr-deref Read in fc_release_transport.
fcoe_exit
fcoe_if_exit
fc_release_transport(fcoe_vport_scsi_transport)
Link: https://lore.kernel.org/r/1566279789-58207-1-git-send-email-zhengbin13@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions