[CRIU] [PATCH] net: Move node's net fd reference into service fd

Pavel Emelyanov xemul at parallels.com
Thu Nov 19 04:16:25 PST 2015


>> @@ -928,6 +931,11 @@ int netns_keep_nsfd(void)
>>  		return -1;
>>  	}
>>  
>> +	if (install_service_fd(NS_FD_OFF, ns_fd) < 0) {
>> +		pr_err("Can't install ns net reference\n");
>> +		return -1;
>> +	}
> 
> 	close(ns_fd);

Would you re-submit the patch?

> 
>> +
>>  	pr_info("Saved netns fd for links restore\n");
>>  	return 0;
>>  }
>> -- 
>> 2.5.0
>>
> .
> 



More information about the CRIU mailing list