Skip to content

Commit

Permalink
Merge pull request #16859 from mjstapp/bgp_cancel_once
Browse files Browse the repository at this point in the history
bgpd: cancel events once in peer_free()
  • Loading branch information
ton31337 authored Sep 23, 2024
2 parents 8b6de50 + 0548160 commit fcc8738
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bgpd/bgpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,6 @@ static void peer_free(struct peer *peer)
EVENT_OFF(peer->t_revalidate_all[afi][safi]);
assert(!peer->connection->t_write);
assert(!peer->connection->t_read);
event_cancel_event_ready(bm->master, peer->connection);

/* Free connected nexthop, if present */
if (CHECK_FLAG(peer->flags, PEER_FLAG_CONFIG_NODE)
Expand Down

0 comments on commit fcc8738

Please sign in to comment.