[Intel-wired-lan] [PATCH next S35 v3 8/9] i40evf: Allocate rx buffers properly

Bowers, AndrewX andrewx.bowers at intel.com
Tue Apr 19 23:05:46 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Jesse Brandeburg
> Sent: Monday, April 18, 2016 11:34 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH next S35 v3 8/9] i40evf: Allocate rx buffers
> properly
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> Allocate the correct number of RX buffers, and don't fiddle with
> next_to_use. The common RX code handles all of this. This fixes a memory
> leak of one page each time the driver is opened.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-Id: Id06eca353086e084921f047acad28c14745684ee
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
KEDR leak check doesn't show any leaks when loading and unloading driver


More information about the Intel-wired-lan mailing list