diff options
author | Wei Li <liwei391@huawei.com> | 2020-09-17 15:29:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 03:03:55 +0300 |
commit | ce000c61b0bf96506ad4a537f3218a716b6fadcd (patch) | |
tree | 2f63ec02d63e42e61fd07a29c44d49d0e46ed243 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0dfdbc7440870007818277dc02d20d4794178a4f (diff) | |
download | linux-ce000c61b0bf96506ad4a537f3218a716b6fadcd.tar.xz |
hinic: fix potential resource leak
In rx_request_irq(), it will just return what irq_set_affinity_hint()
returns. If it is failed, the napi and irq requested are not freed
properly. So add exits for failures to handle these.
Signed-off-by: Wei Li <liwei391@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions