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
2525 NDA_VNI,
2626 NDA_IFINDEX,
2727 NDA_MASTER,
28− NDA_NDM_IFINDEX_NETNSID,
28+ NDA_LINK_NETNSID,
2929 __NDA_MAX
3030 };
3131