]> asedeno.scripts.mit.edu Git - linux.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)
commit0b63644602cfcbac849f7ea49272a39e90fa95eb
tree146fa013a187c2435bbe697fc109a0204ccd2e25
parent24474f2709af6729b9b1da1c5e160ab62e25e3a4
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