]> git.puffer.fish Git - mirror/frr.git/commit
zebra: anticipate zns creation at vrf creation when backend is vrf-lite 7697/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 8 Dec 2020 11:11:05 +0000 (11:11 +0000)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 9 Dec 2020 13:26:20 +0000 (13:26 +0000)
commit91b1421e845844d894d7cc162cc5d3244efbd206
tree8b209a6f1c5c79f852a16692c7df7726fe6adcc0
parentd5ecf80558c023878f1b2a4ab76e59042f8cbb10
zebra: anticipate zns creation at vrf creation when backend is vrf-lite

in the case the namespace pointer is already available, feed it at vrf
creation. this prevents from crashing if the netlink parsing already
began, and the vrf-lite is not enabled yet.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_vrf.c