diff options
author | Maria Matejka <mq@ucw.cz> | 2022-06-29 12:51:07 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-11 16:07:09 +0200 |
commit | b06911f6ef1b4cd3f7ea541b062187e80a934dd8 (patch) | |
tree | c497e3fc3ba7cb2668f0019d8758df687def207f /nest/rt-table.c | |
parent | 61842ff3157d323f4d13b92effeca1c56c1dd262 (diff) |
Do not try to check flowspec validity for piped routes
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index afa0ec5c..5adf6346 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -2925,7 +2925,7 @@ static struct rte_storage * rt_flowspec_update_rte(rtable *tab, net *n, rte *r) { #ifdef CONFIG_BGP - if (rt_get_source_attr(r) != RTS_BGP) + if (r->generation || (rt_get_source_attr(r) != RTS_BGP)) return NULL; struct bgp_channel *bc = (struct bgp_channel *) SKIP_BACK(struct channel, in_req, r->sender->req); |