mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
net/tcp/tcp_monitor.c: Fix net unlock issue when tcp close. This bug could leave the net locked.
This commit is contained in:
@@ -395,6 +395,8 @@ void tcp_close_monitor(FAR struct socket *psock)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
net_unlock();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user