mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
e5f4e7b9ff
commit
193523bf93
3 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,7 @@ enum {
|
|||
NDA_VNI,
|
||||
NDA_IFINDEX,
|
||||
NDA_MASTER,
|
||||
NDA_NDM_IFINDEX_NETNSID,
|
||||
__NDA_MAX
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue