• Pavel Emelyanov's avatar
    net: Don't specify link index when restoring its params · b88d8e1b
    Pavel Emelyanov authored
    Well, when we create external link with ip utility we cannot
    specify its index. Thus we will not be able to move external
    device to namespace and ask criu to restore link params.
    
    However, RTM_SETLINK can happily work with the link name only.
    And since we do have one in the images, we can omit setting
    the index in the requrest.
    
    TODO: Send patch with index specification to iproute2.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    b88d8e1b
net.c 13.3 KB