mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Nest: Fix crash in receive limit handling in import table
Logging as a result of triggered receive limit in import table code accesset rte->net, which was not filed yet. Thanks to Pier Carlo Chiodi for the bugreport.
This commit is contained in:
parent
4a42e7e925
commit
b962967e20
@ -2490,6 +2490,9 @@ rte_update_in(struct channel *c, const net_addr *n, rte *new, struct rte_src *sr
|
|||||||
|
|
||||||
if (l->state == PLS_BLOCKED)
|
if (l->state == PLS_BLOCKED)
|
||||||
{
|
{
|
||||||
|
/* Required by rte_trace_in() */
|
||||||
|
new->net = net;
|
||||||
|
|
||||||
rte_trace_in(D_FILTERS, c->proto, new, "ignored [limit]");
|
rte_trace_in(D_FILTERS, c->proto, new, "ignored [limit]");
|
||||||
goto drop_update;
|
goto drop_update;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user