net: rtnetlink: add linkprop commands to add and delete alternative ifnames
authorJiri Pirko <jiri@mellanox.com>
Mon, 30 Sep 2019 09:48:16 +0000 (11:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2019 21:47:19 +0000 (14:47 -0700)
commit36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc
tree60e37caffe8f4ba06cf1b2be36c3041933baf310
parentff92741270bf8b6e78aa885f166b68c7a67ab13a
net: rtnetlink: add linkprop commands to add and delete alternative ifnames

Add two commands to add and delete list of link properties. Implement
the first property type along - alternative ifnames.
Each net device can have multiple alternative names.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/uapi/linux/if.h
include/uapi/linux/if_link.h
include/uapi/linux/rtnetlink.h
net/core/dev.c
net/core/rtnetlink.c
security/selinux/nlmsgtab.c