From: Maria Matejka Date: Wed, 29 Jun 2022 10:51:07 +0000 (+0200) Subject: Do not try to check flowspec validity for piped routes X-Git-Tag: v3.0-alpha1~171^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b06911f6ef1b4cd3f7ea541b062187e80a934dd8;p=thirdparty%2Fbird.git Do not try to check flowspec validity for piped routes --- diff --git a/nest/rt-table.c b/nest/rt-table.c index afa0ec5c8..5adf63465 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);