summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/ans-lcd.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-04-18 00:59:23 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-18 00:59:23 +0200
commit7816a0a862d851d0b05710e7d94bfe390f3180e2 (patch)
tree0b4f9099df21b1f7295637e8c28aa72721150b7d /drivers/macintosh/ans-lcd.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadlinux-7816a0a862d851d0b05710e7d94bfe390f3180e2.tar.xz
linux-7816a0a862d851d0b05710e7d94bfe390f3180e2.zip
vlan/macvlan: fix NULL pointer dereferences in ethtool handlers
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>
Diffstat (limited to 'drivers/macintosh/ans-lcd.c')
0 files changed, 0 insertions, 0 deletions