summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_io.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-07 23:09:59 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-30 22:18:01 +0100
commit72bb6e3353acfe369b9e0871204b895bed3737f6 (patch)
treedd6d653422636998145fba2fbe69c1bbdb0afd44 /bgpd/bgp_io.c
parentbgpd: atomize write-quanta, add read-quanta (diff)
downloadfrr-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.c1
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;