aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2019-01-09 14:56:32 -0800
committerJens Axboe <[email protected]>2019-01-16 09:44:20 -0700
commitfb8658581a150a859b654b154cefe3118ff4f1e0 (patch)
tree54daa9c491a674d10278ecbd602be78872663e09 /tools/perf/scripts/python/export-to-postgresql.py
parent7809167da5c86fd6bf309b33dee7a797e263342f (diff)
nvmet-tcp: fix uninitialized variable access
If we end up in nvmet_tcp_try_recv_one with a bogus state queue receive state we will access result which is uninitialized. Initialize restult to 0 which will be considered as if no data was received by the tcp socket. Fixes: 872d26a391da ("nvmet-tcp: add NVMe over TCP target driver") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions