diff options
author | Kiran Patil <kiran.patil@intel.com> | 2015-11-06 15:26:03 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-03 02:23:31 -0800 |
commit | a42e7a369ea2b73a554a85dea7d6243af51cd4f0 (patch) | |
tree | 1f644ea69d87b2259339c11836170b27ad780b86 /drivers/net/ethernet/intel/i40evf/i40e_adminq.c | |
parent | 9c6c12595b73e580f103b0812837f015034d460e (diff) |
i40e: Fix memory leaks, sideband filter programming
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.
Change-ID: Ief4f0a1a32a653180498bf6e987c1b4342ab8923
Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_adminq.c')
0 files changed, 0 insertions, 0 deletions