* [PATCH] bcm43xx: fix netdev watchdog timeouts
@ 2006-09-14 13:28 Larry Finger
2006-09-14 13:37 ` Erik Mouw
0 siblings, 1 reply; 3+ messages in thread
From: Larry Finger @ 2006-09-14 13:28 UTC (permalink / raw)
To: John Linville
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, Bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w,
Michael Buesch, Stefano Brivio
The setup for running long periodic work has a bug that leads to
netdev watchdog tx timeouts. This change eliminates the timeouts.
systems.
Signed-off-by: Michael Buesch <mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
Acked-by: Larry Finger <Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
---
John,
Please apply this to wireless-2.6. It would be great if this patch were to be
included in 2.6.19.
Thanks,
Larry
Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3169,8 +3169,7 @@ static void bcm43xx_periodic_work_handle
* be preemtible.
*/
mutex_lock(&bcm->mutex);
- netif_stop_queue(bcm->net_dev);
- synchronize_net();
+ netif_tx_disable(bcm->net_dev);
spin_lock_irqsave(&bcm->irq_lock, flags);
bcm43xx_mac_suspend(bcm);
if (bcm43xx_using_pio(bcm))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bcm43xx: fix netdev watchdog timeouts
2006-09-14 13:28 [PATCH] bcm43xx: fix netdev watchdog timeouts Larry Finger
@ 2006-09-14 13:37 ` Erik Mouw
2006-09-14 13:54 ` Larry Finger
0 siblings, 1 reply; 3+ messages in thread
From: Erik Mouw @ 2006-09-14 13:37 UTC (permalink / raw)
To: Larry Finger
Cc: John Linville, netdev, Bcm43xx-dev, Michael Buesch,
Stefano Brivio
On Thu, Sep 14, 2006 at 08:28:54AM -0500, Larry Finger wrote:
> Please apply this to wireless-2.6. It would be great if this patch were to be
> included in 2.6.19.
I suppose you mean 2.6.18?
It would also be nice if your "bcm43xx locks up machine" patch were to
be included in 2.6.18 together with this patch or we will see
regression reports against 2.6.17.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bcm43xx: fix netdev watchdog timeouts
2006-09-14 13:37 ` Erik Mouw
@ 2006-09-14 13:54 ` Larry Finger
0 siblings, 0 replies; 3+ messages in thread
From: Larry Finger @ 2006-09-14 13:54 UTC (permalink / raw)
To: Erik Mouw
Cc: netdev, Stefano Brivio, John Linville, Michael Buesch,
Bcm43xx-dev
Erik Mouw wrote:
> On Thu, Sep 14, 2006 at 08:28:54AM -0500, Larry Finger wrote:
>> Please apply this to wireless-2.6. It would be great if this patch were to be
>> included in 2.6.19.
>
> I suppose you mean 2.6.18?
>
> It would also be nice if your "bcm43xx locks up machine" patch were to
> be included in 2.6.18 together with this patch or we will see
> regression reports against 2.6.17.
This section in wireless 2.6 already differed by quite a bit from that in
2.6.18-rcX. As a result, John Linville thinks that applying this patch to 2.6.18
would lead to messiness in the git trees and has recommended that I hold the
patch until it can be sent to the stable maintainers for inclusion in 2.6.18.y.
Yes there will be a regression against 2.6.17.
Larry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-14 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 13:28 [PATCH] bcm43xx: fix netdev watchdog timeouts Larry Finger
2006-09-14 13:37 ` Erik Mouw
2006-09-14 13:54 ` Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).