mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 13:41:46 +00:00
Merge pull request #13220 from mjstapp/fix_zebra_gr_client
zebra: null-check client pointer during GR processing
This commit is contained in:
commit
02619b5522
@ -651,6 +651,9 @@ void zebra_gr_process_client(afi_t afi, vrf_id_t vrf_id, uint8_t proto,
|
|||||||
struct client_gr_info *info = NULL;
|
struct client_gr_info *info = NULL;
|
||||||
struct zebra_gr_afi_clean *gac;
|
struct zebra_gr_afi_clean *gac;
|
||||||
|
|
||||||
|
if (client == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
TAILQ_FOREACH (info, &client->gr_info_queue, gr_info) {
|
TAILQ_FOREACH (info, &client->gr_info_queue, gr_info) {
|
||||||
if (info->vrf_id == vrf_id)
|
if (info->vrf_id == vrf_id)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user