Re: alloc_skb called nonatomically from interrupt

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

 



On Mon, 24 Nov 2003 10:56:14 +1100
Martijn van Oosterhout <kleptog@svana.org> wrote:

> On Sun, Nov 23, 2003 at 03:41:21PM -0800, David S. Miller wrote:
> > On Sun, 23 Nov 2003 16:17:18 +1100
> > Martijn van Oosterhout <kleptog@svana.org> wrote:
> > 
> > > Error message: alloc_skb called nonatomically from interrupt a012e029 <sock_alloc_send_pskb>
> > 
> > Set sk->sk_priority correctly on your UDP socket if you wish to
> > send data over it in software interrupt context.
> 
> 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.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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