This is similar to what we do for veth interfaces in remove_veth_links(). When a container rebooted, macvlan interfaces created by the previous boot may still exist in the kernel, and that causes -EADDRINUSE after reboot. Hopefully fixes #680.
This is similar to what we do for veth interfaces in remove_veth_links(). When a container rebooted, macvlan interfaces created by the previous boot may still exist in the kernel, and that causes -EADDRINUSE after reboot. Hopefully fixes #680.