Re: [patch net-next rfc 3/7] net: rtnetlink: add commands to add and delete alternative ifnames
From: David Ahern <hidden>
Date: 2019-08-13 00:29:18
From: David Ahern <hidden>
Date: 2019-08-13 00:29:18
On 8/12/19 3:43 PM, Jakub Kicinski wrote:
Is not adding commands better because it's easier to deal with the RTM_NEWLINK notification? I must say it's unclear from the thread why muxing the op through RTM_SETLINK is preferable. IMHO new op is cleaner, do we have precedent for such IFLA_.*_OP-style attributes?
An alternative name for a link is not a primary object; it is only an attribute of a link and links are manipulated through RTM_*LINK commands.