]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: ethtool RSS fixes
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 24 Feb 2015 06:58:51 +0000 (06:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Mar 2015 09:07:29 +0000 (01:07 -0800)
commit7335a0aa9998c08e90167cc8c46e0964f2164f2f
tree602237c37b262bd3cbf9b7293b52147b49400462
parent753479fbb2b72f82c7b395d384ad1ece41a109d2
i40evf: ethtool RSS fixes

Add an extra check to make sure that the indirection table pointer is
valid before dereferencing it.

Change-ID: I698adbf3daff03081d01f489dc95a9f1ad8b12f1
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c