]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: anticipate zns creation at vrf creation when backend is vrf-lite
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 8 Dec 2020 11:11:05 +0000 (11:11 +0000)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 11 Dec 2020 08:26:24 +0000 (11:26 +0300)
commit34bc6be815c3d51d94a7bf585a889ebea5d1cba1
tree68600d77644a5d47cd070cc8b6e9540df9d27c3c
parent714764f395b9d9a38c408365c254048a242862b2
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