[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <574C69DE.3050305@6wind.com>
Date: Mon, 30 May 2016 18:27:10 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Vincent Bernat <vincent@...nat.im>,
"David S. Miller" <davem@...emloft.net>
Cc: Vijay Pandurangan <vijayp@...ayp.ca>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Subject: Re: [net v3] veth: advertise peer link once both links are tied
together
Le 30/05/2016 18:01, Vincent Bernat a écrit :
> ❦ 30 mai 2016 17:58 CEST, Vincent Bernat <vincent@...nat.im> :
>
>> +
>> + 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.
Powered by blists - more mailing lists