diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-01-20 15:15:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-23 17:51:15 -0800 |
commit | 193523bf937309d57c6dd7839bcf34d7a029dbee (patch) | |
tree | 0dbb105a5d413ab622e6b9b5d18137ec93d7f809 /include | |
parent | e5f4e7b9ff331c6995af826b222681528de574b6 (diff) |
vxlan: advertise netns of vxlan dev in fdb msg
Netlink FDB messages are sent in the link netns. The header of these messages
contains the ifindex (ndm_ifindex) of the netdevice, but this ifindex is
unusable in case of x-netns vxlan.
I named the new attribute NDA_NDM_IFINDEX_NETNSID, to avoid confusion with
NDA_IFINDEX.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/neighbour.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h index f3d77f9f1e0b..38f236853cc0 100644 --- a/include/uapi/linux/neighbour.h +++ b/include/uapi/linux/neighbour.h @@ -25,6 +25,7 @@ enum { NDA_VNI, NDA_IFINDEX, NDA_MASTER, + NDA_NDM_IFINDEX_NETNSID, __NDA_MAX }; |