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: Allow table to expand to have TBL_MAX_BUCKETS buckets
[sliver-openvswitch.git]
/
datapath
/
table.c
diff --git
a/datapath/table.c
b/datapath/table.c
index
76086ee
..
36613bd
100644
(file)
--- a/
datapath/table.c
+++ b/
datapath/table.c
@@
-333,7
+333,7
@@
struct tbl *tbl_expand(struct tbl *table)
int n_buckets = table->n_buckets * 2;
struct tbl *new_table;
- if (n_buckets >
=
TBL_MAX_BUCKETS) {
+ if (n_buckets > TBL_MAX_BUCKETS) {
err = -ENOSPC;
goto error;
}