linux/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
..
Makefile
datagram.c net: sk_drops consolidation part 2 2009-10-18 18:52:54 -07:00
dev.c vlan: Optimize multiple unregistration 2009-10-28 02:22:08 -07:00
dev_mcast.c
drop_monitor.c
dst.c
ethtool.c ethtool: Add reset operation 2009-10-07 01:10:44 -07:00
fib_rules.c
filter.c filter: Add SKF_AD_QUEUE instruction 2009-10-20 01:06:22 -07:00
flow.c
gen_estimator.c
gen_stats.c pkt_sched: gen_estimator: Dont report fake rate estimators 2009-10-07 01:07:42 -07:00
iovec.c
kmap_skb.h
link_watch.c
neighbour.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
net_namespace.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