netdev
[Top] [All Lists]

Re: [NETLINK] netlink_ack takes gfp flag as parameter

To: pablo@xxxxxxxxxxx (Pablo Neira)
Subject: Re: [NETLINK] netlink_ack takes gfp flag as parameter
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Sep 2004 12:12:55 +1000
Cc: netdev@xxxxxxxxxxx, davem@xxxxxxxxxx
In-reply-to: <41537473.1090306@eurodev.net>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
Pablo Neira <pablo@xxxxxxxxxxx> wrote:
> 
> AFAIK ip_queue, ip6_queue and dn_rtmsg use netlink_ack in interrupt 
> context which calls alloc_skb with the GFP_KERNEL flag. This patch adds 
> a new parameter to netlink_ack to set the gfp flag.

Bogus.  All of those functions call netlink_ack in the context of the
sending process.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>