[PATCH 2/3] net: Restore venet link

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 17 08:36:58 EDT 2013


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 net.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net.c b/net.c
index 2d4dadc..2c2caed 100644
--- a/net.c
+++ b/net.c
@@ -325,6 +325,8 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
 	switch (nde->type) {
 	case ND_TYPE__LOOPBACK:
 		return restore_one_link(nde, nlsk, NULL);
+	case ND_TYPE__VENET:
+		return restore_link_parms(nde, nlsk);
 	case ND_TYPE__VETH:
 		return restore_one_link(nde, nlsk, veth_link_info);
 	case ND_TYPE__TUN:
-- 
1.8.1.4


--x+6KMIRAuhnl3hBn--


More information about the CRIU mailing list