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
hmap: Fix bug in hmap_replace().
[sliver-openvswitch.git]
/
lib
/
hmap.h
diff --git
a/lib/hmap.h
b/lib/hmap.h
index
1809a91
..
9808805
100644
(file)
--- a/
lib/hmap.h
+++ b/
lib/hmap.h
@@
-190,6
+190,7
@@
hmap_replace(struct hmap *hmap,
}
*bucket = new;
new->hash = old->hash;
+ new->next = old->next;
}
static inline struct hmap_node *