From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: Sleeping function called from illegal context at slab.c:1378 Date: Mon, 23 Sep 2002 11:30:10 -0700 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <3D8F5DB2.A3E36E16@digeo.com> References: <1032804558.28404.13.camel@spc9.esa.lanl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lkml , netfilter-devel@lists.netfilter.org Return-path: To: Steven Cole List-Id: netfilter-devel.vger.kernel.org That's a bug in ip_fw_ctl(). It's calling convert_ipfw() inside FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); But convert_ipfw() does kmalloc(GFP_KERNEL). Steven Cole wrote: > > Hi Andrew, > > Are these traced warnings of any use to you? > > If so, here is one. This one was from > > "Sleeping function called from illegal context at slab.c:1378" > > on bootup of 2.5.38-mm2: > > Trace; c0119986 <__might_sleep+56/5d> > Trace; c0135166 > Trace; c0271e03 > Trace; c02721c0 > Trace; c026a023 > Trace; c012ff2e > Trace; c0130db5 > Trace; c012d8ef > Trace; c012b5ba > Trace; c023471a > Trace; c0234790 > Trace; c0242fda > Trace; c02255de > Trace; c022562a > Trace; c0263995 > Trace; c02269d6 > Trace; c0227026 > Trace; c0114ea0 > Trace; c01099b1 > Trace; c0108f6f > > Steven