• Larry Finger's avatar
    [PATCH] bcm43xx: Fix cancellation of work queue crashes · 3f708697
    Larry Finger authored
    A crash upon booting that is caused by bcm43xx has been reported [1] and
    found to be due to a work queue being reinitialized while work on that
    queue is still pending. This fix modifies the shutdown of work queues and
    prevents periodic work from being requeued during shutdown. With this patch,
    no more crashes on reboot were observed by the original reporter. I do not
    get that particular failure on my system; however, when running a large
    number of ifdown/ifup sequences, my system would kernel panic with the
    'caps lock' light blinking at roughly a 1 Hz rate. In addition, there were
    infrequent failures in the firmware that resulted in 'IRQ READY TIMEOUT'
    errors. With this patch, no more of the first type of failure occur, and
    incidence of the second type is greatly reduced.
    
    [1] http://bugzilla.kernel.org/show_bug.cgi?id=8937Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
    Acked-by: default avatarMichael Buesch <mb@bu3sch.de>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    3f708697
bcm43xx_main.c 116 KB