Skip to content

Commit

Permalink
Merge pull request #15102 from opensourcerouting/Revert-memleak-PR14811
Browse files Browse the repository at this point in the history
Revert "bgpd: On shutdown do not create a workqueue for the self peer"
  • Loading branch information
donaldsharp authored Jan 7, 2024
2 parents fa62132 + 0222f55 commit 7335117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ void bgp_fsm_change_status(struct peer_connection *connection,
/* Transition into Clearing or Deleted must /always/ clear all routes..
* (and must do so before actually changing into Deleted..
*/
if (status >= Clearing && peer != bgp->peer_self) {
if (status >= Clearing) {
bgp_clear_route_all(peer);

/* If no route was queued for the clear-node processing,
Expand Down

0 comments on commit 7335117

Please sign in to comment.