mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 18:50:39 +00:00
bgpd: null check (Coverity 1399274)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
6389e663e9
commit
4f9a63adba
@ -812,7 +812,7 @@ static void update_subgroup_delete(struct update_subgroup *subgrp)
|
|||||||
THREAD_TIMER_OFF(subgrp->t_coalesce);
|
THREAD_TIMER_OFF(subgrp->t_coalesce);
|
||||||
sync_delete(subgrp);
|
sync_delete(subgrp);
|
||||||
|
|
||||||
if (BGP_DEBUG(update_groups, UPDATE_GROUPS))
|
if (BGP_DEBUG(update_groups, UPDATE_GROUPS) && subgrp->update_group)
|
||||||
zlog_debug("delete subgroup u%" PRIu64 ":s%" PRIu64,
|
zlog_debug("delete subgroup u%" PRIu64 ":s%" PRIu64,
|
||||||
subgrp->update_group->id, subgrp->id);
|
subgrp->update_group->id, subgrp->id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user