[CRIU] [PATCHv2 2/2] service: reinit opts in cr_service_work()

Ruslan Kuprieiev kupruser at gmail.com
Tue Oct 29 15:48:39 PDT 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 cr-service.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cr-service.c b/cr-service.c
index 771944c..1c14466 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -222,6 +222,8 @@ static int cr_service_work(int sk)
 {
 	CriuReq *msg = 0;
 
+	init_opts();
+
 	if (recv_criu_msg(sk, &msg) == -1) {
 		pr_perror("Can't recv request");
 		goto err;
-- 
1.8.1.2



More information about the CRIU mailing list