Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

From: Johannes Berg
Date: Thu Sep 13 2007 - 03:15:29 EST


On Wed, 2007-09-12 at 05:34 -0700, David Miller wrote:
> From: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> Date: Thu, 06 Sep 2007 17:19:55 +0200
>
> >
> > Oh btw. Can we stick a might_sleep() into dev_close() *before* the test
> > whether the device is up? That way, we'd have seen the bug, but
> > apparently nobody before Florian ever did a 'ip link set wmaster0 down'
> > while the other interfaces were still open.
>
> I've added this to net-2.6.24

Great, thanks. Now I just hope John gets around to merging all the
accumulated fixes :)

johannes

Attachment: signature.asc
Description: This is a digitally signed message part