]> git.proxmox.com Git - mirror_frr.git/commit
zebra: avoid initialising more than one the l3vni hash structure
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 6 Dec 2018 08:03:12 +0000 (09:03 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 17 Dec 2018 11:09:52 +0000 (12:09 +0100)
commit6548050a858b4d9bad54b96068c6966e491e8cf4
treede06113426c625dd99ccf5a6d159b3a398b698e6
parenta8dfbac67bee2b55c34a2b57a4b223042e80afbd
zebra: avoid initialising more than one the l3vni hash structure

the l3vni structure is allocated only once, since that structure is only
used for default netns. For that, move the initialisation part is moved
to a proper place, where there is no risk of attempting to initialise it
more than once, even when vrf backend is netns.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_ns.c
zebra/zebra_router.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan.h