1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Fixed pipe reload/refeed

This commit is contained in:
Maria Matejka
2021-11-23 12:06:27 +00:00
parent 821344c781
commit 5395880908
3 changed files with 27 additions and 0 deletions

View File

@@ -618,6 +618,9 @@ rt_notify_basic(struct channel *c, const net_addr *net, rte *new, rte *old)
if (old && !bmap_test(&c->export_map, old->id))
old = NULL;
if (old && (old->sender == c->in_req.hook))
bug("bad-behaved pipe");
if (!new && !old)
return;