Commit 46c1a583 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes a bug causing crash during soft reconfiguration of export to kernel proto.

parent 39c028e9
......@@ -608,10 +608,9 @@ krt_got_route(struct krt_proto *p, rte *e)
return;
}
if (net->n.flags & KRF_INSTALLED)
old = net->routes;
if ((net->n.flags & KRF_INSTALLED) && old)
{
old = net->routes;
ASSERT(old);
if (krt_uptodate(e, old))
verdict = KRF_SEEN;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment