diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-14 01:30:51 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-20 01:04:53 +0200 |
commit | 43b8ca995b8ae5ea0e08ae74cdc0cf68cfa0feef (patch) | |
tree | 0ce41245847fe6a9b3b9672affbbbc4197a41498 /pimd/pim_static.c | |
parent | Merge pull request #4557 from dslicenc/zebra_rnh_eval (diff) | |
download | frr-43b8ca995b8ae5ea0e08ae74cdc0cf68cfa0feef.tar.xz frr-43b8ca995b8ae5ea0e08ae74cdc0cf68cfa0feef.zip |
lib: Do not blindly set the _read and _write pointers to NULL
Adding a read with the address of the thread pointer we want to
use will allow lib/thread.c to properly handle your thread pointers.
Instead we were setting the pointer to NULL before we passed
into the _read and _write thread functions. Remove the NULL
pointer set and just let thread.c handle everything.
vty_stdio_resume and vty_read would blindly add read and write
which would cause vty_event() to drop the thread pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.c')
0 files changed, 0 insertions, 0 deletions