diff options
| author | Jiawen Wu <[email protected]> | 2023-11-28 09:59:28 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-30 04:13:03 +0000 |
| commit | 91fdb30ddfdb651509914d3ed0a0302712540fed (patch) | |
| tree | 07f0466cf0fcbd9a77349dd658f5c618b8d83724 /drivers/net/ethernet/intel/ice/ice_vf_lib.c | |
| parent | ice: Fix VF Reset paths when interface in a failed over aggregate (diff) | |
| download | kernel-91fdb30ddfdb651509914d3ed0a0302712540fed.tar.gz kernel-91fdb30ddfdb651509914d3ed0a0302712540fed.zip | |
net: libwx: fix memory leak on msix entry
Since pci_free_irq_vectors() set pdev->msix_enabled as 0 in the
calling of pci_msix_shutdown(), wx->msix_entries is never freed.
Reordering the lines to fix the memory leak.
Cc: [email protected]
Fixes: 3f703186113f ("net: libwx: Add irq flow functions")
Signed-off-by: Jiawen Wu <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib.c')
0 files changed, 0 insertions, 0 deletions
