vxlan: advertise netns of vxlan dev in fdb msg
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 20 Jan 2015 14:15:47 +0000 (15:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Jan 2015 01:51:15 +0000 (17:51 -0800)
commit193523bf937309d57c6dd7839bcf34d7a029dbee
tree0dbb105a5d413ab622e6b9b5d18137ec93d7f809
parente5f4e7b9ff331c6995af826b222681528de574b6
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>
drivers/net/vxlan.c
include/uapi/linux/neighbour.h
net/core/net_namespace.c
This page took 0.026287 seconds and 5 git commands to generate.