mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
udp:add tls cleanup protection to protect waitsem in udp_txdrain
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
@@ -170,11 +170,11 @@ int udp_writebuffer_notifier_setup(worker_t worker,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void udp_notifier_teardown(int key)
|
||||
void udp_notifier_teardown(FAR void *key)
|
||||
{
|
||||
/* This is just a simple wrapper around work_notifier_teardown(). */
|
||||
|
||||
work_notifier_teardown(key);
|
||||
work_notifier_teardown(*(FAR int *)key);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user