mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 03:30:07 +00:00 
			
		
		
		
	Merge pull request #2610 from qlyoung/fix-zebra-pthread-crash-shutdown-min
zebra: remove asserts on task nullity
This commit is contained in:
		
						commit
						94adf8d33e
					
				| @ -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
	 Jafar Al-Gharaibeh
						Jafar Al-Gharaibeh