diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-11-12 15:57:03 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2018-11-21 10:38:08 -0500 |
| commit | 62b8bb7a1776ea98e5874a4a057617e335a7f77c (patch) | |
| tree | bd76e8af2363cff81492e93f132cbc4de019e669 /zebra/kernel_socket.c | |
| parent | ad6aad4d0bc06f7711d05e1d05576ea25aac04c5 (diff) | |
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>
Diffstat (limited to 'zebra/kernel_socket.c')
| -rw-r--r-- | zebra/kernel_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 7af3083fd2..ff739ae79b 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -1415,7 +1415,7 @@ void kernel_init(struct zebra_ns *zns) routing_socket(zns); } -void kernel_terminate(struct zebra_ns *zns) +void kernel_terminate(struct zebra_ns *zns, bool complete) { return; } |
