projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: allocate nr_node_ids flow_stats instead of num_possible_nodes
[cascardo/ovs.git]
/
datapath
/
flow_table.c
diff --git
a/datapath/flow_table.c
b/datapath/flow_table.c
index
409f9dd
..
c76f2a1
100644
(file)
--- a/
datapath/flow_table.c
+++ b/
datapath/flow_table.c
@@
-988,7
+988,7
@@
int ovs_flow_init(void)
BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long));
flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow)
- + (n
um_possible_nodes()
+ + (n
r_node_ids
* sizeof(struct flow_stats *)),
0, 0, NULL);
if (flow_cache == NULL)