summaryrefslogtreecommitdiffstats
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-10-01 11:07:13 +0200
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-08-18 18:25:06 +0200
commit9771da714e63ba050f13a3f1fa2cdee464e97da1 (patch)
treeffe061c0b75d37a4ecba34f7825406fe88b01dc2 /lib/netns_linux.c
parentzebra: display interface slave type (diff)
downloadfrr-9771da714e63ba050f13a3f1fa2cdee464e97da1.tar.xz
frr-9771da714e63ba050f13a3f1fa2cdee464e97da1.zip
zebra: map vxlan interface to bridge interface with correct ns id
an incoming bridge index has been found, that is linked with vxlan interface, and the search for that bridge interface is done. In vrf-lite, the search is done across the same default namespace, because bridge and vxlan may not be in the same vrf. But this behaviour is wrong when using vrf netns backend, as the bridge and the vxlan have to be in the same vrf ( hence in the same network namespace). To comply with that, use the netnamespace of the vxlan interface. Like that, the appropriate nsid is passed as parameter, and consequently, the search is correct, and the mac address passed to BGP will be ok too. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions