summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2016-04-18 11:33:48 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-05-05 23:07:30 -0700
commitb163098ea1eece88a8834952dcbade1f17378731 (patch)
treece36096ca3b7063e656974079ad956e0bf402252 /drivers/net/ethernet/intel/i40e/i40e_ethtool.c
parentbec60fc42b285344b027c87444c7fd6caade0ceb (diff)
downloadlwn-b163098ea1eece88a8834952dcbade1f17378731.tar.gz
lwn-b163098ea1eece88a8834952dcbade1f17378731.zip
i40evf: Allocate Rx buffers properly
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. Change-Id: Id06eca353086e084921f047acad28c14745684ee Signed-off-by: Mitch Williams <mitch.a.williams@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/i40e/i40e_ethtool.c')
0 files changed, 0 insertions, 0 deletions