Skip to content

Commit

Permalink
Merge pull request #10871 from FRRouting/mergify/bp/stable/8.1/pr-10857
Browse files Browse the repository at this point in the history
bgpd: Turn off thread when running `no bmp targets X` (backport #10857)
  • Loading branch information
donaldsharp committed Mar 25, 2022
2 parents 1794094 + ec507c9 commit 7e0386a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgpd/bgp_bmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1623,6 +1623,8 @@ static void bmp_targets_put(struct bmp_targets *bt)
struct bmp *bmp;
struct bmp_active *ba;

THREAD_OFF(bt->t_stats);

frr_each_safe (bmp_actives, &bt->actives, ba)
bmp_active_put(ba);

Expand Down

0 comments on commit 7e0386a

Please sign in to comment.