original_kernel/net/core
Matti Linnanvuori d8b2a4d21e [NET]: Fix race in dev_close(). (Bug 9750)
There is a race in Linux kernel file net/core/dev.c, function dev_close.
The function calls function dev_deactivate, which calls function
dev_watchdog_down that deletes the watchdog timer. However, after that, a
driver can call netif_carrier_ok, which calls function
__netdev_watchdog_up that can add the watchdog timer again. Function
unregister_netdevice calls function dev_shutdown that traps the bug
!timer_pending(&dev->watchdog_timer). Moving dev_deactivate after
netif_running() has been cleared prevents function netif_carrier_on
from calling __netdev_watchdog_up and adding the watchdog timer again.

Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-12 23:11:16 -08:00
..
Makefile
datagram.c
dev.c [NET]: Fix race in dev_close(). (Bug 9750) 2008-02-12 23:11:16 -08:00
dev_mcast.c [VLAN]: set_rx_mode support for unicast address list 2008-01-31 19:28:24 -08:00
dst.c
ethtool.c
fib_rules.c
filter.c
flow.c [IPSEC] flow: reorder "struct flow_cache_entry" and remove SLAB_HWCACHE_ALIGN 2008-02-07 23:30:42 -08:00
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
neighbour.c [NDISC]: Fix race in generic address resolution 2008-02-12 17:54:17 -08:00
net-sysfs.c
net-sysfs.h
net_namespace.c typo fixes in net/core/net_namespace.c 2008-02-03 17:56:48 +02:00
netevent.c
netpoll.c
pktgen.c [PKTGEN]: pktgen should not print info that it is spinning 2008-01-31 19:28:26 -08:00
request_sock.c
rtnetlink.c [RTNETLINK]: Send a single notification on device state changes. 2008-02-12 22:42:09 -08:00
scm.c
skbuff.c [NET]: Fix comment for skb_pull_rcsum 2008-02-12 22:03:25 -08:00
sock.c
stream.c
sysctl_net_core.c
user_dma.c
utils.c