diff options
author | Yuan Can <yuancan@huawei.com> | 2022-12-07 11:54:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-09 13:52:43 +0300 |
commit | 01de1123322e4fe1bbd0fcdf0982511b55519c03 (patch) | |
tree | 07c054c18e78cacbddd76d0f12b95f5de7081961 /tools/perf/scripts/python/stackcollapse.py | |
parent | a137f3f27f9290933fe7e40e6dc8a445781c31a2 (diff) | |
download | linux-01de1123322e4fe1bbd0fcdf0982511b55519c03.tar.xz |
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
If vp alloc failed in qlcnic_sriov_init(), all previously allocated vp
needs to be freed.
Fixes: f197a7aa6288 ("qlcnic: VF-PF communication channel implementation")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions