Subject: Re: [Bugme-new] [Bug 7974] New: BUG: scheduling while atomic: swapper/0x10000100/0

From: "Michael Chan" <[email-masked]>
Date: Fri, 09 Feb 2007 15:31:54 -0800

On Fri, 2007-02-09 at 23:35 +0100, Francois Romieu wrote:
> Andrew Morton <[email-masked]> :
> > 
> > cond_resched() called from softirq, amongst other problems.
> 
> Seems too simple to be right. Btw calling dev_set_mac_address
> may hurt some tg3:
> 
> -> tg3_set_mac_addr
>    -> tg3_netif_stop (depending on the content of their sram): 
>       -> netif_poll_disable
>          -> schedule_timeout_interruptible
> 

Yes, known problem.  Bonding calls dev_set_mac_address from unsleepable
context.