linux-loongson/net/core
Eric Dumazet ac5e3af999 net: sysfs: ethtool_ops can be NULL
commit d519e17e2d
(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>
2009-10-28 03:59:46 -07:00
..
datagram.c
dev_mcast.c
dev.c vlan: Optimize multiple unregistration 2009-10-28 02:22:08 -07:00
drop_monitor.c
dst.c
ethtool.c
fib_rules.c
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile
neighbour.c
net_namespace.c
net-sysfs.c net: sysfs: ethtool_ops can be NULL 2009-10-28 03:59:46 -07:00
net-sysfs.h
net-traces.c
netevent.c
netpoll.c
pktgen.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-27 01:03:26 -07:00
request_sock.c
rtnetlink.c net: add a list_head parameter to dellink() method 2009-10-28 02:22:07 -07:00
scm.c
skb_dma_map.c
skbuff.c
sock.c net: Fix for dst_negative_advice 2009-10-20 18:55:46 -07:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c