diff options
author | Maria Matejka <mq@ucw.cz> | 2022-10-12 11:30:27 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-10-12 11:30:27 +0200 |
commit | ff24f027a6e689e294d756142ce788d67fdaf69b (patch) | |
tree | 18ba275b550e848693145980c199d8f2305479d7 /nest/rt-table.c | |
parent | 217a724d5a25f2e7fbbc518085ee2c261505aa39 (diff) | |
parent | 5395880908fdb264b5b78ccc455dced49eb29915 (diff) |
Merge commit '53958809' into thread-next
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 8980f147..8e4a9e00 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -899,6 +899,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; |