incubator-nuttx/net/tcp
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
Kconfig TCP: Fix some potential error conditions that could result from deferring the connection until the full 3-way handshake has completed. 2017-05-14 10:56:25 -06:00
Make.defs Networking: Move two more TCP specific files from inet/ to tcp/. There is other TCP-specific logic in inet/ that should be moved sometime, but those are more entangled. 2017-08-29 09:25:22 -06:00
tcp.h Networking: Fix a race condition. The accept() operation is performed with the network locked. However, the network is unlocked BEFORE the connected state is set. Therefore, a context switch may occur and the socket may no longer be connected when it is marked so. Noted by Pascal Speck. 2017-08-31 07:23:19 -06:00
tcp_accept.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
tcp_appsend.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
tcp_backlog.c Networking: Fix a race condition. The accept() operation is performed with the network locked. However, the network is unlocked BEFORE the connected state is set. Therefore, a context switch may occur and the socket may no longer be connected when it is marked so. Noted by Pascal Speck. 2017-08-31 07:23:19 -06:00
tcp_callback.c networking: IGMP: Remove special support for interrupt level processing (there is none) and fix some timer cancellation logic. In many files, correct comments. There is no interrupt level processing in the networking layer. 2017-09-02 10:27:03 -06:00
tcp_conn.c Networking: Fix some errors found by Coverity 2017-09-13 13:04:26 -06:00
tcp_connect.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
tcp_devpoll.c Remove CONFIG_NETDEV_MULTINIC. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 14:24:12 -06:00
tcp_finddev.c Remove CONFIG_NETDEV_MULTINIC. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 14:24:12 -06:00
tcp_input.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
tcp_ipselect.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
tcp_listen.c networking: IGMP: Remove special support for interrupt level processing (there is none) and fix some timer cancellation logic. In many files, correct comments. There is no interrupt level processing in the networking layer. 2017-09-02 10:27:03 -06:00
tcp_monitor.c Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the network. There are events and event handler (there used to to be interrupt logic in there years ago but that is long, long gone). 2017-08-29 14:08:04 -06:00
tcp_netpoll.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
tcp_send.c networking: Move a little more to the inet/ subdirectory. 2017-08-07 13:03:23 -06:00
tcp_send_buffered.c Update net_timedwait() and net_lockedwait() call sites to handle negated errno in return value 2017-09-04 07:56:51 -06:00
tcp_send_unbuffered.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
tcp_sendfile.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
tcp_seqno.c networking: IGMP: Remove special support for interrupt level processing (there is none) and fix some timer cancellation logic. In many files, correct comments. There is no interrupt level processing in the networking layer. 2017-09-02 10:27:03 -06:00
tcp_timer.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
tcp_wrbuffer.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
tcp_wrbuffer_dump.c IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00