diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-07 23:09:59 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-11-30 22:18:01 +0100 |
commit | 72bb6e3353acfe369b9e0871204b895bed3737f6 (patch) | |
tree | dd6d653422636998145fba2fbe69c1bbdb0afd44 /bgpd/bgp_io.c | |
parent | bgpd: atomize write-quanta, add read-quanta (diff) | |
download | frr-72bb6e3353acfe369b9e0871204b895bed3737f6.tar.xz frr-72bb6e3353acfe369b9e0871204b895bed3737f6.zip |
bgpd: set thread_master owner appropriately
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_io.c')
-rw-r--r-- | bgpd/bgp_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_io.c b/bgpd/bgp_io.c index c9e300262..80d6a1e9b 100644 --- a/bgpd/bgp_io.c +++ b/bgpd/bgp_io.c @@ -67,6 +67,7 @@ void bgp_io_init() void *bgp_io_start(void *arg) { struct frr_pthread *fpt = frr_pthread_get(PTHREAD_IO); + fpt->master->owner = pthread_self(); // we definitely don't want to handle signals fpt->master->handle_signals = false; |