mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 17:16:11 +00:00
Merge pull request #13873 from FRRouting/mergify/bp/dev/9.0/pr-13870
bgpd: Ensure peer data structure is accessed only when BGPD is not te… (backport #13870)
This commit is contained in:
commit
c9a420b9c1
@ -225,7 +225,7 @@ static void bgp_process_reads(struct event *thread)
|
||||
|
||||
peer = EVENT_ARG(thread);
|
||||
|
||||
if (peer->fd < 0 || bm->terminating)
|
||||
if (bm->terminating || peer->fd < 0)
|
||||
return;
|
||||
|
||||
struct frr_pthread *fpt = bgp_pth_io;
|
||||
|
Loading…
Reference in New Issue
Block a user