]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Memory leak in i40e_config_iwarp_qvlist
authorMartyna Szapar <martyna.szapar@intel.com>
Thu, 18 Apr 2019 20:31:53 +0000 (13:31 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 May 2019 00:45:22 +0000 (17:45 -0700)
commit9e2107d825485773ddd28cefb3b2ff929b12849b
tree146fa013a187c2435bbe697fc109a0204ccd2e25
parent93bee0a4e980400157ed6d4462332f7d200855a6
i40e: Memory leak in i40e_config_iwarp_qvlist

Added freeing the old allocation of vf->qvlist_info in function
i40e_config_iwarp_qvlist before overwriting it with
the new allocation.

Signed-off-by: Martyna Szapar <martyna.szapar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c