mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
bgpd: debug guard inQ limit
Add a debug guard for the inQ limit. Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
1ee3556e5f
commit
3448b62542
@ -280,10 +280,11 @@ static void bgp_process_reads(struct thread *thread)
|
|||||||
case -ENOMEM:
|
case -ENOMEM:
|
||||||
ibuf_full = true;
|
ibuf_full = true;
|
||||||
if (!ibuf_full_logged) {
|
if (!ibuf_full_logged) {
|
||||||
flog_warn(
|
if (bgp_debug_neighbor_events(peer))
|
||||||
EC_BGP_UPDATE_RCV,
|
zlog_debug(
|
||||||
"%s [Warning] Peer Input-Queue is full: limit (%u)",
|
"%s [Event] Peer Input-Queue is full: limit (%u)",
|
||||||
peer->host, bm->inq_limit);
|
peer->host, bm->inq_limit);
|
||||||
|
|
||||||
ibuf_full_logged = true;
|
ibuf_full_logged = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user