[Devel] Re: [PATCH] Fix build when CONFIG_INET=n

Oren Laadan orenl at cs.columbia.edu
Sat Apr 24 16:19:44 PDT 2010


Applied for ckpt-v21-rc3.

Dan Smith wrote:
> Signed-off-by: Dan Smith <danms at us.ibm.com>
> ---
>  checkpoint/sys.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/checkpoint/sys.c b/checkpoint/sys.c
> index 45d3e7a..7e1ea1f 100644
> --- a/checkpoint/sys.c
> +++ b/checkpoint/sys.c
> @@ -259,7 +259,9 @@ static void ckpt_ctx_free(struct ckpt_ctx *ctx)
>  
>  	kfree(ctx->pids_arr);
>  
> +#ifdef CONFIG_NETNS_CHECKPOINT
>  	sock_listening_list_free(&ctx->listen_sockets);
> +#endif
>  
>  	kfree(ctx);
>  }
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list