Skip to contentSkip to conversation

free ctx->coord_pidns

PATCH Applied Serge E. Hallyn 2 participants 2 messages Apr 13, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 free ctx->coord_pidns

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

---
 kernel/checkpoint/sys.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
kernel/checkpoint/sys.c +2 -0
index 997fc44..88b668d 100644
@@ -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)
Signature · 1 line
1.6.0.6

A message that is not in the archive (sent off-list or not yet received): 20100413000629.GA23699-r/[email protected]

Applied
#2 lore raw
Quoted 2 lines · Serge E. Hallyn

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

Applied, thanks!

Cheers,
-Matt Helsley

Quoted 22 lines
---
 kernel/checkpoint/sys.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
kernel/checkpoint/sys.c +2 -0
index 997fc44..88b668d 100644
@@ -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)
Signature · 1 line
1.6.0.6