kernel-fxtec-pro1x/drivers/net/e1000
Jesse Brandeburg 338c15e470 e1000: fix occasional panic on unload
Net drivers in general have an issue where timers fired
by mod_timer or work threads with schedule_work are running
outside of the rtnl_lock.

With no other lock protection these routines are vulnerable
to races with driver unload or reset paths.

The longer term solution to this might be a redesign with
safer locks being taken in the driver to guarantee no
reentrance, but for now a safe and effective fix is
to take the rtnl_lock in these routines.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-23 14:33:38 -07:00
..
e1000.h e1000: use work queues 2010-09-23 14:33:37 -07:00
e1000_ethtool.c e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_hw.c
e1000_hw.h
e1000_main.c e1000: fix occasional panic on unload 2010-09-23 14:33:38 -07:00
e1000_osdep.h
e1000_param.c e1000: cleanup unused parameters 2010-05-14 03:06:19 -07:00
Makefile