[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMEtUuw+TtVcShem=rxSGu3JhEx60jeGFBrhWSXT6XuyYODGeA@mail.gmail.com>
Date: Wed, 23 Oct 2013 14:25:17 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: David Miller <davem@...emloft.net>
Cc: stephen@...workplumber.org, nicolas.dichtel@...nd.com,
amwang@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] fix rtnl notification in atomic context
On Wed, Oct 23, 2013 at 2:09 PM, David Miller <davem@...emloft.net> wrote:
> From: Stephen Hemminger <stephen@...workplumber.org>
> Date: Wed, 23 Oct 2013 14:03:43 -0700
>
>> On Wed, 23 Oct 2013 11:32:41 -0700
>> Alexei Starovoitov <ast@...mgrid.com> wrote:
>>
>>> +
>>> +void rtmsg_ifinfo(int type, struct net_device *dev, unsigned int change)
>>> +{
>>> + __rtmsg_ifinfo(type, dev, change, GFP_KERNEL);
>>> +}
>>> EXPORT_SYMBOL(rtmsg_ifinfo);
>>>
>>> static int nlmsg_populate_fdb_fill(struct sk_buff *skb,
>>> --
>>
>> Why add another wrapper function? I think it cleaner to just change all the
>> callers to use the correct gfp flags.
>
> Indeed, if this were targetted to "net" we'd have the argument of trying
> to simplify the patch for -stable inclusion.
>
> But since this is going into net-next, let's just put explicit GFP_* args
> at the call site.
sure. Will respin.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists