I encountered a deadlock in bcm43xx-d80211.

bcm43xx_free_board()          | bcm43xx_periodic_work_handler()
------------------------------+--------------------------------
locks bcm->mutex              |
                              |
calls bcm43xx_sysfs_unregister|
which sleeps                  |
                              |bcm43xx_periodic_work_handler is
                              |started
                              |
                              |tries to lock bcm->mutex and
                              |sleeps
calls                         |
bcm43xx_periodic_tasks_delete |
which waits for periodic_work |
to finish                     |
                       *** deadlock ***


It is reproducible by following script:

ifconfig wlan0 up
ip link list wlan0 &
ip link list wmaster0 &
ifconfig wlan0 down


-- 
Jiri Benc
SUSE Labs
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to