[Intel-wired-lan] [next PATCH S21 05/14] i40e: Fix memory leaks, sideband filter programming
andrewx.bowers at intel.com
Mon Nov 9 19:02:46 UTC 2015
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joshua Hay
> Sent: Friday, November 06, 2015 3:26 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S21 05/14] i40e: Fix memory leaks,
> sideband filter programming
> From: Kiran Patil <kiran.patil at intel.com>
> This patch fixes the memory leak which would be seen otherwise when user
> programs flow-director filter using ethtool (sideband filter programming).
> When ethtool is used to program flow directory filter, 'raw_buf' gets
> allocated and it is supposed to be freed as part of queue cleanup. But check
> of 'tx_buffer->skb' was preventing it from being freed.
> Signed-off-by: Kiran Patil <kiran.patil at intel.com>
> Change-ID: Ief4f0a1a32a653180498bf6e987c1b4342ab8923
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 19 ++++++++++++++-----
> drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 10 +++++-----
> 2 files changed, 19 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, memory usage does not increase with repeated flow director filter/table changes.
More information about the Intel-wired-lan