]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/openvswitch/flow_table.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-beck.git] / net / openvswitch / flow_table.c
index 95dbcedf0bd4422f927956b042ca469eeba56ea7..d073fff82fdb8c6c8d39b57690d37eedeb12423a 100644 (file)
@@ -93,7 +93,8 @@ struct sw_flow *ovs_flow_alloc(void)
 
        /* Initialize the default stat node. */
        stats = kmem_cache_alloc_node(flow_stats_cache,
-                                     GFP_KERNEL | __GFP_ZERO, 0);
+                                     GFP_KERNEL | __GFP_ZERO,
+                                     node_online(0) ? 0 : NUMA_NO_NODE);
        if (!stats)
                goto err;