[CRIU] [PATCH 5/5] IPC: remove prohibition of mapped shared memory segments migration

Kinsbursky Stanislav skinsbursky at openvz.org
Tue Feb 14 12:20:16 EST 2012



Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>

---
 ipc_ns.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/ipc_ns.c b/ipc_ns.c
index 86e3e58..66114d4 100644
--- a/ipc_ns.c
+++ b/ipc_ns.c
@@ -372,12 +372,6 @@ static int dump_ipc_shm(int fd)
 			break;
 		}
 
-		if (ds.shm_nattch != 0) {
-			pr_err("Migration of attached IPC shared memory "
-			       "segments is not supported yet\n");
-			return -EFAULT;
-		}
-
 		ret = dump_ipc_shm_seg(fd, id, &ds);
 		if (ret < 0)
 			return ret;



More information about the CRIU mailing list