net/tcp/tcp_monitor.c: Fix net unlock issue when tcp close. This bug could leave the net locked.

This commit is contained in:
zhangyuan7
2018-08-26 14:32:06 -06:00
committed by Gregory Nutt
parent 49548da297
commit da1a323f34
+2
View File
@@ -395,6 +395,8 @@ void tcp_close_monitor(FAR struct socket *psock)
}
}
#endif
net_unlock();
}
/****************************************************************************