]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix threading bug in GRPC code 8799/head
authorChristian Hopps <chopps@gmail.com>
Thu, 20 May 2021 06:50:34 +0000 (06:50 +0000)
committermergify-bot <noreply@mergify.io>
Sat, 5 Jun 2021 03:58:20 +0000 (03:58 +0000)
commit10b4d08e3234d668a0df4245ff41b71d61e9ba27
tree7ddb053bc981d520dab189df33c8390734abd1e1
parent13b4987b34b3067786193cd25df8f2368c6a03b9
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>
(cherry picked from commit b680134e1122cdbb67f5c6ed158ee712255ee3cc)
lib/northbound_grpc.cpp