Juha Niskanen
|
c0bf0b4d9d
net/usrsock: fix compiler warnings, mostly about nxsem_post
|
7 years ago |
Gregory Nutt
|
cf5cba953d
There was a possible recursion that could eventually overflow the stack. The error occurred when closing the socket with inet_close() while a socket callback was still queued. When the socket callback was executed by devif_conn_event(), this resulted in a call to psock_send_eventhandler() with TCP_CLOSE flag set which then called tcp_lost_connection(). tcp_shutdown_monitor() then called tcp_callback() again, which again called psock_send_eventhandler(), and so on.... Noted by Pascal Speck. Solution is also similar to a solution proposed by Pascal Speck.
|
7 years ago |
Gregory Nutt
|
42a0796615
Squashed commit of the following:
|
7 years ago |
Jussi Kivilinna
|
86df036ff2
net/usrsock: fix USRSOCK to work with recent changes to networking layer
|
7 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Jussi Kivilinna
|
cd3c9634c8
Add user-space networking stack API (usrsock)
|
7 years ago |