On Tue, Apr 12, 2005 at 05:38:01PM +0900, Daniel Ann wrote: > My problem is that, kernel dies with "alloc_skb called nonatomically > from interrupt c00ba718" message. After browsing mailing list, I think > its to do with not providing it with enough locks prior. > > Question is, what kind of lock should I be providing ?
You don't need any locks, just pass correct gfp_mask parameter to alloc_skb when it's called from IRQ context, e.g. GFP_ATOMIC. -- Eugene