diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-09-23 11:01:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 11:01:05 +0200 |
commit | fcc8738bb505b80bd799b4218eea9b7517093294 (patch) | |
tree | 00031e1497646c7d1d651fd22ddf591dc1d0e89b /bgpd/bgpd.c | |
parent | Merge pull request #16873 from louis-6wind/fix-yang-rmap (diff) | |
parent | bgpd: cancel events once in peer_free() (diff) | |
download | frr-fcc8738bb505b80bd799b4218eea9b7517093294.tar.xz frr-fcc8738bb505b80bd799b4218eea9b7517093294.zip |
Merge pull request #16859 from mjstapp/bgp_cancel_once
bgpd: cancel events once in peer_free()
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r-- | bgpd/bgpd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 9accec143..8fe8f244d 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -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) |