[Devel] Re: [PATCH] Skip down interfaces (v2)

Serge E. Hallyn serge at hallyn.com
Thu Apr 1 08:37:26 PDT 2010


Quoting Brian Haley (brian.haley at hp.com):
> Dan Smith wrote:
> > This makes the netns checkpoint code skip interfaces that are not up.
> > Later, we want to make it possible to checkpoint down interfaces with
> > a flag, but for now this helps prevent people from getting stuck on
> > stock kernels with various unsupported and persistent virtual interfaces,
> > such as tunnel devices.
> 
> But devices that are not IFF_UP can still have addresses associated
> with them, wouldn't this cause those addresses to not be
> checkpointed?

Only if it's a device that wouldn't have supported checkpoint anyway.
So if veth0 is down, it'll be checkpointed.  If tunl0 is up, checkpoint
will be refused.  But if tunl0 is down, then it'll just be ignored.
The container didn't want that jerk around anyway, it just couldn't
get rid of it.

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list