On 11/23/05, Robert Iakobashvili <[EMAIL PROTECTED]> wrote: > On 11/23/05, Yu Zhiguo <[EMAIL PROTECTED]> wrote: > > Please refer to the function netlink_broadcast(), > > int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 pid, > > u32 group, int allocation) > > I think if allocation=GFP_ATOMIC, it can be used in interrupt context. > > What's your opinion?
Allocation is OK and it uses only spinlocks in all functions called, no semaphores. My concern actually rises from here: http://www.ussg.iu.edu/hypermail/linux/kernel/0407.3/0455.html Sincerely, ---------------------------------------------------------------- Robert Iakobashvili - NAVIGARE NECESSE EST coroberti at gmail dot com --------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html