if_link: add IFLA_TARGET_NETNSID alias
authorChristian Brauner <christian@brauner.io>
Tue, 4 Sep 2018 19:53:52 +0000 (21:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 05:27:11 +0000 (22:27 -0700)
commit19d8f1ad12fd746e60707a58d954980013c7a35a
tree2fe1f5ad2c0ec2f17fc54842ee539f020ed5ea49
parent87ccbb1f943625884b824c5560f635dcea8e4510
if_link: add IFLA_TARGET_NETNSID alias

This adds IFLA_TARGET_NETNSID as an alias for IFLA_IF_NETNSID for
RTM_*LINK requests.
The new name is clearer and also aligns with the newly introduced
IFA_TARGET_NETNSID propert for RTM_*ADDR requests.

Signed-off-by: Christian Brauner <christian@brauner.io>
Suggested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Cc: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
tools/include/uapi/linux/if_link.h