summaryrefslogtreecommitdiff
path: root/bgpd/bgp_keepalives.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-20 15:47:42 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-20 15:50:32 -0400
commitcb1991af8c3f09e28c90932cb36bd1d2c07375d6 (patch)
tree8afceae737eed0619bdd3c074676795efccbdb2a /bgpd/bgp_keepalives.c
parentefa98761d28b79796c0df91f823b241106d5f7b6 (diff)
*: frr_with_mutex change to follow our standard
convert: frr_with_mutex(..) to: frr_with_mutex (..) To make all our code agree with what clang-format is going to produce Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_keepalives.c')
-rw-r--r--bgpd/bgp_keepalives.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_keepalives.c b/bgpd/bgp_keepalives.c
index 86202a0e3d..158f163358 100644
--- a/bgpd/bgp_keepalives.c
+++ b/bgpd/bgp_keepalives.c
@@ -252,7 +252,7 @@ void bgp_keepalives_on(struct peer *peer)
*/
assert(peerhash_mtx);
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
holder.peer = peer;
if (!hash_lookup(peerhash, &holder)) {
struct pkat *pkat = pkat_new(peer);
@@ -280,7 +280,7 @@ void bgp_keepalives_off(struct peer *peer)
*/
assert(peerhash_mtx);
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
holder.peer = peer;
struct pkat *res = hash_release(peerhash, &holder);
if (res) {
@@ -293,7 +293,7 @@ void bgp_keepalives_off(struct peer *peer)
void bgp_keepalives_wake(void)
{
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
pthread_cond_signal(peerhash_cond);
}
}