nuttx/net/tcp
Andrew Webster 5e3023bef1 TCP: return from write when there is no buffer space
During a write, if there is no more buffer space for the user data,
return the amount that was written instead of waiting until there
is free space.  If nothing has been written yet, then block as before.

This solves a deadlock that occurs if the user data is too large to
fit in the available buffer:  the write thread will block before any
data is added to the write queue, leaving no possibility that more
buffers will free up when they are ACKed (since they have not yet been
sent).  The write thread will then block forever and hold all of the
buffers.
2016-01-22 16:19:20 -06:00
..
Kconfig Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Make.defs TCP networking: Add support for network driver events 2015-05-30 09:12:27 -06:00
tcp_accept.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
tcp_appsend.c Fix some spacing problems 2015-10-04 15:04:00 -06:00
tcp_backlog.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
tcp_callback.c Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1 2015-09-05 09:10:48 -06:00
tcp_conn.c net/tcp: The logic that binds a specific networkd device to a connection was faulty for the case of multiple network devices. On bind(), the local address should be used to associate a device with the connection (if the local address is not INADDR_ANY); On connect(), the remote address should be used (in case the local address is INADDR_ANY). On accept(), it does not matter but the remote address is the one guarenteed to be available. 2015-09-02 19:48:31 -06:00
tcp_devpoll.c Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
tcp_finddev.c Fix a compile error when IPv6 is enabled 2015-09-07 16:34:25 -06:00
tcp_input.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
tcp_ipselect.c Fix some spacing problems 2015-10-04 15:04:00 -06:00
tcp_listen.c Costmetic changes 2015-08-27 10:38:43 -06:00
tcp_netpoll.c TCP: add writable check during poll 2016-01-22 15:52:14 -06:00
tcp_send_buffered.c TCP: return from write when there is no buffer space 2016-01-22 16:19:20 -06:00
tcp_send_unbuffered.c TCP: add writable check during poll 2016-01-22 15:52:14 -06:00
tcp_send.c Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
tcp_seqno.c Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
tcp_timer.c Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
tcp_wrbuffer_dump.c Update everything under nuttx/net to use the corrected syslog interfaces 2014-10-08 10:48:11 -06:00
tcp_wrbuffer.c TCP: add writable check during poll 2016-01-22 15:52:14 -06:00
tcp.h TCP: add writable check during poll 2016-01-22 15:52:14 -06:00