X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=rcuja%2Frcuja.c;h=fac1eb75d56a09210e87296a35b14664a09724ec;hb=7b413155ff4babb1ce86ab0441242e39b43509fa;hp=9c90fdcdfc13b926c983e9be770aa5e51179e784;hpb=46f373a6789943f3e64fd97e55cdb7a5234e50f2;p=urcu.git diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index 9c90fdc..fac1eb7 100644 --- 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 */