projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix rcuja: fallback when adding element to full pool
[urcu.git]
/
rcuja
/
rcuja.c
diff --git
a/rcuja/rcuja.c
b/rcuja/rcuja.c
index 9c90fdcdfc13b926c983e9be770aa5e51179e784..fac1eb75d56a09210e87296a35b14664a09724ec 100644
(file)
--- a/
rcuja/rcuja.c
+++ b/
rcuja/rcuja.c
@@
-835,6
+835,9
@@
skip_copy:
ret = _ja_node_set_nth(new_type, new_node,
new_shadow_node,
n, child_node_flag);
+ if (new_type->type_class == RCU_JA_POOL && ret) {
+ goto fallback_toosmall;
+ }
assert(!ret);
}
/* Return pointer to new recompacted node through old_node_flag_ptr */
This page took
0.022256 seconds
and
4
git commands to generate.