[CRIU] [PATCH v2 05/15] net/ipv4: add net_conf_op to reuse for ipv6
Pavel Emelyanov
xemul at virtuozzo.com
Thu Apr 21 07:17:25 PDT 2016
> diff --git a/criu/sysctl.c b/criu/sysctl.c
> index bd584bd..57e1b50 100644
> --- a/criu/sysctl.c
> +++ b/criu/sysctl.c
> @@ -455,6 +455,7 @@ int sysctl_op(struct sysctl_req *req, size_t nr_req, int op, unsigned int ns)
> /* copy over the non-pointer fields */
> cur->type = req[i].type;
> cur->flags = req[i].flags;
> + cur->has = req[i].has;
Runaway from patch #3?
>
> cur->name = (char *) &cur[1];
> strcpy(cur->name, req[i].name);
>
More information about the CRIU
mailing list