Skip to content
Commit 7816a0a8 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

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: default avatarArt van Breemen <ard@telegraafnet.nl>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75a241f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment