diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-11-15 16:01:19 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-11-15 16:01:19 +0100 |
commit | b962967e20f186f797c163f69c673b0ee4ef3b2b (patch) | |
tree | 6e84111c3f945e388a3a000c120de5f61fef1a62 /nest/rt-table.c | |
parent | 4a42e7e92520e7d07e585d542ef54e1de302fb1d (diff) |
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.
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 eff25e5c..b78e5896 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -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) { + /* Required by rte_trace_in() */ + new->net = net; + rte_trace_in(D_FILTERS, c->proto, new, "ignored [limit]"); goto drop_update; } |