On Sun, Sep 20, 2015 at 11:24 PM, David Miller <da...@davemloft.net> wrote:
> From: Jesse Gross <je...@nicira.com>
> Date: Fri, 18 Sep 2015 19:06:14 -0700
>
>> @@ -80,7 +80,7 @@ struct sw_flow *ovs_flow_alloc(void)
>>       struct flow_stats *stats;
>>       int node;
>>
>> -     flow = kmem_cache_alloc(flow_cache, GFP_KERNEL);
>> +     flow = kmem_cache_alloc(flow_cache, GFP_KERNEL | __GFP_ZERO);
>>       if (!flow)
>
> Like Eric, I prefer that you use kmem_cache_zalloc() to fix
> this.

Sure, I'll make both changes and send out a new patch in a bit.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to