Re: alloc_skb called nonatomically from interrupt

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

 



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>
> 
> While doing some debigging on this kernel L2TP module I'm running into the
> above message. It's a bit strange since the code is under the impression
> it's in a bottom-half. The backtrace is below (running under UML). 
> 
> Since the PPP write is going out the UDP socket there has to be some way to
> get around this? Is the intention that I should queue the packet here and
> schedule a bottom-half myself? But that leads to the same problem again.

Set sk->sk_priority correctly on your UDP socket if you wish to
send data over it in 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