]> git.proxmox.com Git - mirror_frr.git/commit - zebra/netconf_netlink.c
zebra: Fix bug in netconf handling where dplane would drop the change
authorDonald Sharp <sharpd@nvidia.com>
Thu, 23 Jun 2022 15:14:46 +0000 (11:14 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 23 Jun 2022 15:23:08 +0000 (11:23 -0400)
commit2b9dc841b7bc608c2dc5256604f6ef7e9f72fbfd
tree975019b0ed962585da557740949b3a47014a2a7f
parent98b3ab772e994ac39a005b144cc2fc6da535d345
zebra: Fix bug in netconf handling where dplane would drop the change

When reading a on the fly change of an interested netconf netlink
message. The ifindex and ns_id for the context was being set for the sub structure
but not for the main context data structure and zebra_if_dplane_result
was dropping the result on the floor because it was expecting the ns_id and
the interface id to be in a different spot.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/netconf_netlink.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h