mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-17 20:05:53 +00:00
zebra: remove asserts on task nullity
While ZAPI I/O threads make a best effort to kill any scheduled tasks on their threadmasters, after death another pthread can continue to schedule onto the threadmaster. This isn't a problem per se since the tasks will never run, but it also means that asserting that it hasn't happened is pointless. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
36789dd4b5
commit
7012f1a38c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user