diff options
author | Patrick McHardy <kaber@trash.net> | 2009-05-26 15:49:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-11 20:01:16 -0700 |
commit | 708f2c81c4de7b2660ca4703ba00e541f750b7e4 (patch) | |
tree | 2d94016f6768492ddcdd4d501efeb1c194d6d924 /include/scsi/srp.h | |
parent | 54823830733c96b9eda9e82167dcc6f04b8a4ca0 (diff) |
vlan/macvlan: fix NULL pointer dereferences in ethtool handlers
[ Upstream commit 7816a0a862d851d0b05710e7d94bfe390f3180e2 ]
Check whether the underlying device provides a set of ethtool ops before
checking for individual handlers to avoid NULL pointer dereferences.
Reported-by: Art van Breemen <ard@telegraafnet.nl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/scsi/srp.h')
0 files changed, 0 insertions, 0 deletions