diff options
author | Yonglong Liu <liuyonglong@huawei.com> | 2018-12-15 11:53:25 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-16 12:07:32 -0800 |
commit | c82bd077e1ba3dd586569c733dc6d3dd4b0e43cd (patch) | |
tree | 01e7bd4b1a99fb6f4481d34aad6dfdfbe8f69ed4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 31f6b61d810654fb3ef43f4d8afda0f44b142fad (diff) |
net: hns: Free irq when exit from abnormal branch
1.In "hns_nic_init_irq", if request irq fail at index i,
the function return directly without releasing irq resources
that already requested.
2.In "hns_nic_net_up" after "hns_nic_init_irq",
if exceptional branch occurs, irqs that already requested
are not release.
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@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