History

vxlan: advertise link netns in fdb messages

Previous commit is based on a wrong assumption, fdb messages are always sent into the netns where the interface stands (see vxlan_fdb_notify()). These fdb messages doesn't embed the rtnl attribute IFLA_LINK_NETNSID, thus we need to add it (useful to interpret NDA_IFINDEX or NDA_DST for example). Note also that vxlan_nlmsg_size() was not updated.

Nicolas Dichtel committed 11 years ago

Commit 49670821 parent 5094c6f2 files · +4 −3Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/neighbour.h+1−1
@@ -25,7 +25,7 @@ enum { · 24 unmodified lines
25 NDA_VNI,25 NDA_VNI,
26 NDA_IFINDEX,26 NDA_IFINDEX,
27 NDA_MASTER,27 NDA_MASTER,
28 NDA_NDM_IFINDEX_NETNSID,28 NDA_LINK_NETNSID,
29 __NDA_MAX29 __NDA_MAX
30};30};
31 31