]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_netlink.c
zebra: avoid using zebra datastructs in evpn dataplane path
authorMark Stapp <mjs@voltanet.io>
Thu, 5 Sep 2019 16:58:58 +0000 (12:58 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 5 Sep 2019 16:58:58 +0000 (12:58 -0400)
commit478566d68b50a988b25066e519493308b309f3bd
tree9e7429dce5731a37b91994a005cd200d9ea9a73f
parente0e140a745e08d8535f3914eccc7c399d9cc37f5
zebra: avoid using zebra datastructs in evpn dataplane path

Some netlink-facing code used for evpn/vxlan programming was
being run in the dataplane pthread, but accessing zebra core
datastructs. Move some additional data into the dataplane
context, and use it in the netlink path instead.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/rt_netlink.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_vxlan.c