]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Fix race condition during reconfiguration, part 2
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 6 Jul 2018 00:17:59 +0000 (02:17 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 6 Jul 2018 00:17:59 +0000 (02:17 +0200)
commit470efcb98cb33de2d5636679eb0f72c88280d6b8
tree30221f98354f26c30f1e0a7ebcda04be44b2cc9d
parentcbfdf6ed057b993d7e107b4c39b8a5b81c081eee
Nest: Fix race condition during reconfiguration, part 2

If export filter is changed during reconfiguration and a route disappears
between reconfiguration and refeed (e.g., if the route is a static route
also removed during the reconfiguration), the route is not withdrawn.

The issue was fixed for regular channels by an earlier patch. This patch
fixes the issue for channels in RA_ACCEPTED mode (first-pass-the-filter),
used by BGP with 'secondary' option.
nest/rt-table.c