diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2018-01-25 15:01:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 12:23:52 -0500 |
commit | 38e01b30563a5b5ade7b54e5d739d16a2b02fe82 (patch) | |
tree | 4c8fa3f46034244bb2e5eaa7cc1258b0ae427c68 /include/uapi | |
parent | c36ac8e2307334c83e8bf81ed361f0e4959d995f (diff) |
dev: advertise the new ifindex when the netns iface changes
The goal is to let the user follow an interface that moves to another
netns.
CC: Jiri Benc <jbenc@redhat.com>
CC: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 8616131e2c61..6d9447700e18 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -163,6 +163,7 @@ enum { IFLA_IF_NETNSID, IFLA_CARRIER_UP_COUNT, IFLA_CARRIER_DOWN_COUNT, + IFLA_NEW_IFINDEX, __IFLA_MAX }; |