diff options
author | 2015-01-20 15:15:47 +0100 | |
---|---|---|
committer | 2015-01-23 17:51:15 -0800 | |
commit | 193523bf937309d57c6dd7839bcf34d7a029dbee (patch) | |
tree | 0dbb105a5d413ab622e6b9b5d18137ec93d7f809 /include/uapi/linux/neighbour.h | |
parent | veth: advertise link netns via netlink (diff) | |
download | linux-193523bf937309d57c6dd7839bcf34d7a029dbee.tar.gz linux-193523bf937309d57c6dd7839bcf34d7a029dbee.tar.bz2 linux-193523bf937309d57c6dd7839bcf34d7a029dbee.zip |
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/uapi/linux/neighbour.h')
-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 }; |