Subject: Re: [net v3] veth: advertise peer link once both links are tied together

From: Nicolas Dichtel <[email-masked]>
Date: Mon, 30 May 2016 18:27:10 +0200

Le 30/05/2016 18:01, Vincent Bernat a écrit :
>  ❦ 30 mai 2016 17:58 CEST, Vincent Bernat <[email-masked]> :
> 
>> +
>> +	rtmsg_ifinfo(RTM_NEWLINK, peer, IFF_SLAVE, GFP_KERNEL);
> 
> Maybe ~0U would be better than hijacking IFF_SLAVE?
IFF_SLAVE is wrong. It's a flag here, that will be put in the ifi_change field
not an attribute number.