mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Fixes a bug causing crash during soft reconfiguration of export to kernel proto.
This commit is contained in:
parent
39c028e9e9
commit
46c1a583a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user