[Intel-wired-lan] [PATCH] i40e: prevent memory leak in i40e_setup_macvlans

Bowers, AndrewX andrewx.bowers at intel.com
Fri Sep 27 19:01:15 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Navid Emamdoost
> Sent: Wednesday, September 25, 2019 8:49 AM
> Cc: netdev at vger.kernel.org; kjlu at umn.edu; linux-kernel at vger.kernel.org;
> emamd001 at umn.edu; intel-wired-lan at lists.osuosl.org;
> smccaman at umn.edu; David S. Miller <davem at davemloft.net>; Navid
> Emamdoost <navid.emamdoost at gmail.com>
> Subject: [Intel-wired-lan] [PATCH] i40e: prevent memory leak in
> i40e_setup_macvlans
> 
> In i40e_setup_macvlans if i40e_setup_channel fails the allocated memory for
> ch should be released.
> 
> Signed-off-by: Navid Emamdoost <navid.emamdoost at gmail.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list