summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet2009-10-26 02:23:33 +0100
committerDavid S. Miller2009-10-28 11:59:46 +0100
commitac5e3af9996fb911d4fdff910a8ac3cb7fc63a94 (patch)
treec6c56403289c8bff16884592dc76d276444e9f04 /net/ipv4
parenttc35815: Enable NAPI (diff)
downloadkernel-qcow2-linux-ac5e3af9996fb911d4fdff910a8ac3cb7fc63a94.tar.gz
kernel-qcow2-linux-ac5e3af9996fb911d4fdff910a8ac3cb7fc63a94.tar.xz
kernel-qcow2-linux-ac5e3af9996fb911d4fdff910a8ac3cb7fc63a94.zip
net: sysfs: ethtool_ops can be NULL
commit d519e17e2d01a0ee9abe083019532061b4438065 (net: export device speed and duplex via sysfs) made the wrong assumption that netdev->ethtool_ops was always set. This makes possible to crash kernel and let rtnl in locked state. modprobe dummy ip link set dummy0 up (udev runs and crash) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions