RE: What's the reason for "alloc_skb called nonatomically from interrupt"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, the code is too large and I couldn't show it( I don't know which
part will be useful). But I can give : I only used some
kmalloc(...,GFP_ATOMIC) and some kfree in the module. And I look into
the /proc/ksyms, it is possible that the related function is
"sock_rmalloc". And sometimes the system gives that message and hung,
but not always. Is it enough? Thanks in advance.
	
yangrunhua

-----Original Message-----
From: Erik Mouw [mailto:J.A.K.Mouw@its.tudelft.nl] 
Sent: 2002Äê2ÔÂ23ÈÕ 0:19
To: yangrunhua
Cc: kernelnewbies@nl.linux.org
Subject: Re: What's the reason for "alloc_skb called nonatomically from
interrupt"

On Fri, Feb 22, 2002 at 01:32:37PM +0800, yangrunhua wrote:
> 	I've written a kernel firewall modules, but sometimes I got that
> message when inserting the module into kernel using "insmod",  and
then
> the machine hung. Why? I haven't alloc any skbuff in interrupt
context.
> Can anybody give some advice?

Sure: show the relevant pieces of your code. Unfortunately our
telepathic powers are a bit weak today, so we can't read it from your
screen... :)


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux