Fix build when CONFIG_INET=n
PATCH 1/1 Fix build when CONFIG_INET=n
Signed-off-by Dan Smith <danms-r/[email protected]>
--- checkpoint/sys.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
checkpoint/sys.c +2 -0
@@ -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); }
Signature · 1 line
1.6.2.5
Applied for ckpt-v21-rc3.
Quoted 19 lines · Dan Smith
Signed-off-by Dan Smith <danms-r/[email protected]>--- checkpoint/sys.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)checkpoint/sys.c +2
-0@@ -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); }