diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2018-07-03 15:47:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-03 15:47:23 -0500 |
| commit | 94adf8d33e5d229282f9eb71b01f8c82abbdd24d (patch) | |
| tree | 10bdcd810ff5b5d3dc31aa5add23b389c88ea16d | |
| parent | 7f04893904881c2822a3736d004358a0dad9f959 (diff) | |
| parent | 7012f1a38cdce2bcb58ed538cac6cca77927e59c (diff) | |
Merge pull request #2610 from qlyoung/fix-zebra-pthread-crash-shutdown-min
zebra: remove asserts on task nullity
| -rw-r--r-- | zebra/zserv.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index b297f75ed9..434a1507ae 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -618,14 +618,6 @@ static int zserv_handle_client_close(struct thread *thread) { struct zserv *client = THREAD_ARG(thread); - /* - * Ensure these have been nulled. This does not equate to the - * associated task(s) being scheduled or unscheduled on the client - * pthread's threadmaster. - */ - assert(!client->t_read); - assert(!client->t_write); - /* synchronously stop thread */ frr_pthread_stop(client->pthread, NULL); |
