aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openvswitch/flow_table.c')
-rw-r--r--net/openvswitch/flow_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c
index b70d845e7efb..3a9d1dde76ed 100644
--- a/net/openvswitch/flow_table.c
+++ b/net/openvswitch/flow_table.c
@@ -754,7 +754,7 @@ int ovs_flow_init(void)
754 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); 754 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long));
755 755
756 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) 756 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow)
757 + (num_possible_nodes() 757 + (nr_node_ids
758 * sizeof(struct flow_stats *)), 758 * sizeof(struct flow_stats *)),
759 0, 0, NULL); 759 0, 0, NULL);
760 if (flow_cache == NULL) 760 if (flow_cache == NULL)