mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Gospodarek <andy@greyhouse.net>
To: David Miller <davem@davemloft.net>
Cc: andy@greyhouse.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] 2.6.19-rc4 - netlink messages created with bad flags in soft_irq context
Date: Wed, 1 Nov 2006 08:10:25 -0500	[thread overview]
Message-ID: <20061101131024.GA11316@gospo.rdu.redhat.com> (raw)
In-Reply-To: <20061031.220047.08324824.davem@davemloft.net>

On Tue, Oct 31, 2006 at 10:00:47PM -0800, David Miller wrote:
> From: Andy Gospodarek <andy@greyhouse.net>
> Date: Tue, 31 Oct 2006 17:06:00 -0500
> 
> > I've got a kernel built where 
> > 
> > CONFIG_DEBUG_SPINLOCK_SLEEP=y
> > 
> > is in the config and I've noticed some interesting behavior when
> > bringing up bonds in balance-alb mode.  When I start to enslave devices
> > to a bond I get the following in the ring buffer:
> > 
> > BUG: sleeping function called from invalid context at mm/slab.c:3007
> > in_atomic():1, irqs_disabled():0
> 
> As Herbert mentioned, the bonding layer calls into the networking
> in atomic contexts when that is illegal.
> -

Thanks for the feedback.  If it seems the bonding driver is one of the
only culprits, I'll investigate a solution that is specific to bonding
(maybe a workqueue for such calls...) rather that one that effects the
entire stack.


      reply	other threads:[~2006-11-01 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 22:06 Andy Gospodarek
2006-11-01  3:50 ` Herbert Xu
2006-11-01  6:00 ` David Miller
2006-11-01 13:10   ` Andy Gospodarek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061101131024.GA11316@gospo.rdu.redhat.com \
    --to=andy@greyhouse.net \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®