diff options
author | zhengbin <[email protected]> | 2019-08-20 13:43:09 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-09-10 21:19:55 -0400 |
commit | f96d279f0a5e53f4b96b16a5c08e2c75e139ba0b (patch) | |
tree | 281609ded73bf63bec5b7fba8ee49ceb4b7a3460 /tools/perf/scripts/python/exported-sql-viewer.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/[email protected]
Reported-by: Hulk Robot <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: zhengbin <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions