IssueNo:#I3R13T

Description:add log for lwip crash
Sig:phone
Feature or Bugfix:Bugfix
Binary Source:No
This commit is contained in:
YOUR_NAME 2021-05-12 17:15:44 +08:00
parent 7cf342c29f
commit 723b3ff8e2
1 changed files with 2 additions and 0 deletions

View File

@ -1570,6 +1570,8 @@ int socks_close(int sockfd)
SYS_ARCH_UNPROTECT(lev);
done_socket(sock);
return lwip_close(sockfd);
} else {
PRINTK("no close socket s_refcount = %d\n", sock->s_refcount);
}
sock->s_refcount--;