Merge pull request #10235 from proelbtn/srv6-soft-reconf

SRv6 routes aren't inserted into data plane correctly with soft-reconfiguration
This commit is contained in:
Russ White 2022-01-11 11:03:34 -05:00 committed by GitHub
commit ab6bff727a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -831,10 +831,6 @@ static void *bgp_attr_hash_alloc(void *p)
if (vnc_subtlvs)
bgp_attr_set_vnc_subtlvs(val, NULL);
#endif
if (val->srv6_l3vpn)
val->srv6_l3vpn = NULL;
if (val->srv6_vpn)
val->srv6_vpn = NULL;
attr->refcnt = 0;
return attr;