diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-04-18 15:45:00 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-06-29 09:53:36 -0700 |
commit | 34875887f360d7bd0b7f0a89f7c6d65eca616ee3 (patch) | |
tree | 31c08362f8285b6cba080872c8451c035f6d2d95 /drivers/net/ethernet/intel/e1000e/netdev.c | |
parent | fb5677aa26a2ae2c94ffb889ab6802a42bf54b0b (diff) |
fm10k: fix incorrect index calculation in fm10k_write_reta
The index calculated when looping through the indir array passed to
fm10k_write_reta was incorrectly calculated as the first part i needs to
be multiplied by 4.
Fixes: 0cfea7a65738 ("fm10k: fix possible null pointer deref after kcalloc", 2016-04-13)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions