]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Do not process workqueue upon instance delete
authorvivek <vivek@cumulusnetworks.com>
Thu, 9 Jun 2016 01:14:17 +0000 (18:14 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 9 Jun 2016 01:14:17 +0000 (18:14 -0700)
commitf23a7bf289e805e2514f464b933001e1ecf34674
tree0d69102f5894aaa116a790bbd6abc336f389d3c9
parentb828b71f06e74f4ae2f0956c1d8dbb60ac5f2583
bgpd: Do not process workqueue upon instance delete

During instance cleanup, an earlier patch walked the workqueue in order
to process queued routes of the instance. However, since the workqueue
is not per instance, the code walks and immediately processes all routes
across all instances.

This may not be ideal in the presence of VRFs, when multiple instances
will be a fact. Revert that part of the change from earlier patch. This
needs to be revisited later for a better solution.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Updates: bb86c6017eccd03ea1554c7bdef5949cf676f208
bgpd/bgpd.c