mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
net: Restore EXTLINK devices
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
96fdc01798
commit
d0a323cb1f
3
net.c
3
net.c
@@ -325,6 +325,9 @@ 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__EXTLINK:
|
||||
/* see comment in protobuf/netdev.proto */
|
||||
return restore_link_parms(nde, nlsk);
|
||||
case ND_TYPE__VETH:
|
||||
return restore_one_link(nde, nlsk, veth_link_info);
|
||||
case ND_TYPE__TUN:
|
||||
|
Reference in New Issue
Block a user