Re: [PATCH / RFC] net: don't grab a mutex within a timer context in gianfar

2008-07-25 Thread Nate Case
On Wed, 2008-07-23 at 22:03 +0200, Sebastian Siewior wrote: I moved it into a workqueue, this is what tg3 does. I would convert the other three drivers unless $dude suggests a better method or somebody else takes care drivers/net/gianfar.c | 22 ++

Re: [PATCH / RFC] net: don't grab a mutex within a timer context in gianfar

2008-07-25 Thread Andy Fleming
On Jul 23, 2008, at 16:03, Sebastian Siewior wrote: From: Sebastian Siewior [EMAIL PROTECTED] I got the following backtrace while network was unavailble: |NETDEV WATCHDOG: eth0: transmit timed out |BUG: sleeping function called from invalid context at /home/bigeasy/

[PATCH / RFC] net: don't grab a mutex within a timer context in gianfar

2008-07-23 Thread Sebastian Siewior
From: Sebastian Siewior [EMAIL PROTECTED] I got the following backtrace while network was unavailble: |NETDEV WATCHDOG: eth0: transmit timed out |BUG: sleeping function called from invalid context at /home/bigeasy/git/linux-2.6-powerpc/kernel/mutex.c:87 |in_atomic():1, irqs_disabled():0 |Call