[CRIU] [PATCH] net: Dump venet links

Cyrill Gorcunov gorcunov at gmail.com
Tue Sep 17 14:42:38 EDT 2013


On Tue, Sep 17, 2013 at 10:31:05PM +0400, Pavel Emelyanov wrote:
> > @@ -170,6 +170,13 @@ static int dump_one_link(struct nlmsghdr *hdr, void *arg)
> >  	case ARPHRD_NONE:
> >  		ret = dump_one_gendev(ifi, tb, fds);
> >  		break;
> > +	case ARPHRD_VOID:
> > +		if (tb[IFLA_IFNAME] &&
> > +		    !strncmp(RTA_DATA(tb[IFLA_IFNAME]), "venet", 5)) {
> 
> Name can be changed for network device, thus it's a bad classifier.

Are you sure? Things are that otherwise there is no unique idenifier
which would allow us to understand that it's venet.


More information about the CRIU mailing list