Re: [PATCH] 2.6.19-rc4 - netlink messages created with bad flags in soft_irq context
From: David Miller <davem@davemloft.net>
Date: 2006-11-01 06:00:47
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2006-11-01 06:00:47
Also in:
lkml
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.