Re: [PATCH v1 7/9] colo-compare: safe finalization

2022-04-04 Thread Maxim Davydov
The main problem that if we call object_new_with_class() and then object_unref(), it fails. First of all, this is due to the fact that finalize expects that net/colo-compare.c:colo_compare_complete() has been called before. On 3/30/22 17:54, Vladimir Sementsov-Ogievskiy wrote: 29.03.2022 00:1

Re: [PATCH v1 7/9] colo-compare: safe finalization

2022-03-30 Thread Vladimir Sementsov-Ogievskiy
29.03.2022 00:15, Maxim Davydov wrote: Fixes some possible issues with finalization. For example, finalization immediately after instance_init fails on the assert. Signed-off-by: Maxim Davydov --- net/colo-compare.c | 25 - 1 file changed, 16 insertions(+), 9 deletion

[PATCH v1 7/9] colo-compare: safe finalization

2022-03-28 Thread Maxim Davydov
Fixes some possible issues with finalization. For example, finalization immediately after instance_init fails on the assert. Signed-off-by: Maxim Davydov --- net/colo-compare.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/net/colo-compare.c b/net