diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-10-01 11:07:13 +0200 |
---|---|---|
committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-08-18 18:25:06 +0200 |
commit | 9771da714e63ba050f13a3f1fa2cdee464e97da1 (patch) | |
tree | ffe061c0b75d37a4ecba34f7825406fe88b01dc2 /lib/netns_linux.c | |
parent | zebra: display interface slave type (diff) | |
download | frr-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