Searched hist:ac5e3af9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | net-sysfs.c | ac5e3af9 Sun Oct 25 20:23:33 CDT 2009 Eric Dumazet <eric.dumazet@gmail.com> 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> ac5e3af9 Sun Oct 25 20:23:33 CDT 2009 Eric Dumazet <eric.dumazet@gmail.com> 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>
|