Re: alloc_skb called nonatomically from interrupt

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

 



On Sun, Nov 23, 2003 at 04:44:17PM -0800, David S. Miller wrote:
> On Mon, 24 Nov 2003 10:56:14 +1100
> Martijn van Oosterhout <kleptog@svana.org> wrote:
> > Thanks, I can do that. I guess my question is: why does it think it's in
> > software interrupt context anyway. It's just a syscall, right?
> 
> If the caller has done any IRQ or BH disabling, that is
> the same as being in HW or software interrupt context.

Thanks for explaining that. Looks like in 2.4.20 it's called allocation
and setting it to GFP_ATOMIC certainly did the trick.
-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato

Attachment: pgp00130.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux