diff options
| author | Pan Bian <[email protected]> | 2019-11-04 23:26:22 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-06 00:04:02 -0500 |
| commit | ec990306f77fd4c58c3b27cc3b3c53032d6e6670 (patch) | |
| tree | 6c5eb74ef2ba35ae0b7ac61b4f267b1b80396e23 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | b1335f5b0486f61fb66b123b40f8e7a98e49605d (diff) | |
scsi: fnic: fix use after free
The memory chunk io_req is released by mempool_free. Accessing
io_req->start_time will result in a use after free bug. The variable
start_time is a backup of the timestamp. So, use start_time here to
avoid use after free.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Pan Bian <[email protected]>
Reviewed-by: Satish Kharat <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions