]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix threading bug in GRPC code
authorChristian Hopps <chopps@gmail.com>
Thu, 20 May 2021 06:50:34 +0000 (06:50 +0000)
committerChristian Hopps <chopps@gmail.com>
Tue, 1 Jun 2021 15:27:54 +0000 (15:27 +0000)
commitb680134e1122cdbb67f5c6ed158ee712255ee3cc
treef6079a4f6b7a7239c990ef0b6f14ccaa606f0c18
parent8c965eaaf41f783a67e880310e338291cac5a965
lib: fix threading bug in GRPC code

The code that actually calls FRR northbound functions needs to be running in the
master thread. The previous code was running on a GRPC pthread. While fixing
moved to more functional vs OOP to make this easier to see.

Also fix ly merge to merge siblings not throw the originals away.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/northbound_grpc.cpp