My first patchset did this, but subsequent revisions dropped
the put_pid_ns...

Signed-off-by: Serge E. Hallyn <[email protected]>
---
 kernel/checkpoint/sys.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/checkpoint/sys.c b/kernel/checkpoint/sys.c
index 997fc44..88b668d 100644
--- a/kernel/checkpoint/sys.c
+++ b/kernel/checkpoint/sys.c
@@ -250,6 +250,8 @@ static void ckpt_ctx_free(struct ckpt_ctx *ctx)
        if (ctx->tasks_arr)
                task_arr_free(ctx);
 
+       if (ctx->coord_pidns)
+               put_pid_ns(ctx->coord_pidns);
        if (ctx->root_nsproxy)
                put_nsproxy(ctx->root_nsproxy);
        if (ctx->root_task)
-- 
1.6.0.6

_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to