git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Clarify meaning of n_buckets argument to tbl_create().
[sliver-openvswitch.git]
/
datapath
/
tunnel.c
diff --git
a/datapath/tunnel.c
b/datapath/tunnel.c
index
bf0ab56
..
c78e7dd
100644
(file)
--- a/
datapath/tunnel.c
+++ b/
datapath/tunnel.c
@@
-237,7
+237,7
@@
static int add_port(struct vport *vport)
if (!port_table) {
struct tbl *new_table;
if (!port_table) {
struct tbl *new_table;
- new_table = tbl_create(
0
);
+ new_table = tbl_create(
TBL_MIN_BUCKETS
);
if (!new_table)
return -ENOMEM;
if (!new_table)
return -ENOMEM;