Please sign in to comment.
net: sntp: Handle case of request timeout
Previously, a case when poll() call timed out wasn't handled, and recv() was called unconditionally. In the case of timeout, recv() itself would hang indefinitely. Signed-off-by: Paul Sokolovsky <firstname.lastname@example.org>
- Loading branch information...
Showing with 8 additions and 3 deletions.