]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
authorSurabhi Boob <surabhi.boob@intel.com>
Sat, 16 May 2020 00:36:43 +0000 (17:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 00:32:50 +0000 (17:32 -0700)
commit14c4e12fe4b59a691c51c60f4abaced68de89769
tree8ad971f06c14e0b4d46a34bd1a70d44a88103933
parent2762667edab28fc18d07f42d6b0aeea06041d45c
ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS

Handle memory leaks during control queue initialization and
buffer allocation failures. The macro ICE_FREE_CQ_BUFS is modified to
re-use for this fix.

Signed-off-by: Surabhi Boob <surabhi.boob@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_controlq.c