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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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_MAX | 29 | __NDA_MAX |
| 30 | }; | 30 | }; |
| 31 | 31 | ||