]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb39db637c8eaaf85d477f8e07f2c8557c5ce5e0
tree60e37caffe8f4ba06cf1b2be36c3041933baf310
parent3a12623608ab09b01efc96c482b4a3fdd6cdb145
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