summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/neighbour.h
diff options
context:
space:
mode:
authorNicolas Dichtel2015-01-20 15:15:47 +0100
committerDavid S. Miller2015-01-24 02:51:15 +0100
commit193523bf937309d57c6dd7839bcf34d7a029dbee (patch)
tree0dbb105a5d413ab622e6b9b5d18137ec93d7f809 /include/uapi/linux/neighbour.h
parentveth: advertise link netns via netlink (diff)
downloadkernel-qcow2-linux-193523bf937309d57c6dd7839bcf34d7a029dbee.tar.gz
kernel-qcow2-linux-193523bf937309d57c6dd7839bcf34d7a029dbee.tar.xz
kernel-qcow2-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.h1
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
};