Files
linux/drivers
Michael Chan 93ae653491 cnic: Fix rtnl deadlock
When cnic_stop_hw() -> cnic_cm_stop_bnx2x_hw() is called under rtnl_lock()
from NETDEV_DOWN event, it waits for cnic_delete_task() to complete.
It will deadlock when cnic_delete_task() takes rtnl_lock() before
calling cnic_ulp_stop_one().

We fix it by removing the rtnl_lock() in cnic_delete_task().
cnic_ulp_stop_one() has mutex and atomic bit ops to prevent important
operations from being done more than once, so it is not necessary to take
rtnl_lock().

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-08 13:03:02 -07:00
..
…
2011-03-28 07:42:58 -07:00
…
…
2011-03-29 18:19:06 +02:00
…
2011-03-29 14:50:42 +02:00
2011-03-22 17:43:59 -07:00
2011-03-18 17:15:11 -07:00
…
2011-03-22 17:43:59 -07:00
…
2011-04-08 13:03:02 -07:00
…
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-22 17:44:17 -07:00
…
…
…
2011-03-30 00:15:49 +02:00
…
…
…
…
…
2011-03-28 19:33:04 +02:00
2011-03-29 10:01:05 -04:00
…
…