[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131023.170919.2254167416151180538.davem@davemloft.net>
Date: Wed, 23 Oct 2013 17:09:19 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: ast@...mgrid.com, nicolas.dichtel@...nd.com, amwang@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] fix rtnl notification in atomic context
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.
--
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