diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2018-10-08 03:28:04 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-16 00:03:51 -0600 |
commit | 5df950994934814a8b91f0cf9f653842d2ba082d (patch) | |
tree | 9a9681458210283fb1f5c9a42ec339f76a3e77d5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a08b9e9a705675ba05fa44f0342e2875fd1bda28 (diff) |
RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
In case the NQ alloc/enable fails, free up the already allocated/enabled
NQ before reporting failure. Also, track the alloc/enable using proper
state checking.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions