[CRIU] [PATCH v2 05/15] net/ipv4: add net_conf_op to reuse for ipv6

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Apr 21 07:37:30 PDT 2016



On 04/21/2016 05:17 PM, Pavel Emelyanov wrote:
>> 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?

Sure, forgot to move it.

>
>>
>>   		cur->name = (char *) &cur[1];
>>   		strcpy(cur->name, req[i].name);
>>
>

-- 
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.


More information about the CRIU mailing list