]> 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)
commitcd7f8f2cc54e56996bceee7e7802cf12f1fc03a0
tree146fa013a187c2435bbe697fc109a0204ccd2e25
parent191f089ec668f47b184441d3615ea4a98d015be0
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