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)
commited250ecc5546649e0d8a1b8f000594314a666547
tree602237c37b262bd3cbf9b7293b52147b49400462
parent66ddcffb1afb009d352115a61e25c237915d9e04
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