]> git.proxmox.com Git - mirror_frr.git/commit - zebra/main.c
zebra: separate netlink socket for dataplane
authorMark Stapp <mjs@voltanet.io>
Mon, 12 Nov 2018 20:57:03 +0000 (15:57 -0500)
committerMark Stapp <mjs@voltanet.io>
Wed, 21 Nov 2018 15:38:08 +0000 (10:38 -0500)
commit62b8bb7a1776ea98e5874a4a057617e335a7f77c
treebd76e8af2363cff81492e93f132cbc4de019e669
parentad6aad4d0bc06f7711d05e1d05576ea25aac04c5
zebra: separate netlink socket for dataplane

Use a separate netlink socket for the dataplane's updates, to
avoid races between the dataplane pthread and the zebra main
pthread. Revise zebra shutdown so that the dataplane netlink
socket is cleaned-up later, after all shutdown-time dataplane
work has been done.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/kernel_netlink.c
zebra/kernel_socket.c
zebra/main.c
zebra/rt.h
zebra/zebra_dplane.c
zebra/zebra_ns.c
zebra/zebra_ns.h