zephyr/subsys/net/ip
Jukka Rissanen 97b6588976 net: tcp: When closing the connection send FIN without extra delays
The earlier code was always queuing the FIN that is sent when
connection is closed. This caused long delay (200 ms) before the peer at
the other end noticed that the connection was actually closed.
Now check if there is nothing in the queue, then send the FIN
immediately. If there is some data in the queue, flush it when a valid
ack has been received.

Fixes #19678

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-10-17 17:02:18 +03:00
..
6lo_private.h net: ip: 6lo (IPHC) uncompression rework 2019-07-25 15:19:28 +03:00
6lo.c net: ip: 6lo: Remove unnecessary net_buf allocation and memmove 2019-07-25 15:19:28 +03:00
6lo.h cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
canbus_socket.c net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
canbus_socket.h net: can: Add CAN handling to net_context 2019-02-07 18:08:27 +02:00
CMakeLists.txt net: shell: Print info about websocket 2019-10-04 16:38:34 +03:00
connection.c net: conn: Deliver multicast pkt to all interested parties 2019-09-12 17:33:44 +03:00
connection.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
dhcpv4.c net/ip/dhcpv4: Set source IP address in DHCP Request 2019-04-17 10:35:38 -05:00
dhcpv4.h net/dhcpv4: Avoid ifdefs when using net_dhcpv4_init() 2019-04-03 09:32:39 -04:00
icmpv4.c cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
icmpv4.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
icmpv6.c cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
icmpv6.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv4_autoconf_internal.h net/ethernet: Cleanup a bit on the usage of ifdefs 2019-07-10 15:24:32 +03:00
ipv4_autoconf.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ipv4.c net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv4.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv6_fragment.c net: ipv6: Fix fragmentation 2019-07-23 15:40:27 +03:00
ipv6_mld.c net: mgmt: Send event with info when applicaple 2019-07-01 13:50:08 -07:00
ipv6_nbr.c net: ip: ipv6_nbr: Make LLAO length calculation more universal 2019-08-09 15:11:45 +03:00
ipv6.c net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv6.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
Kconfig net: Add statistics how long packets have spent in TX path 2019-10-14 16:34:48 +03:00
Kconfig.debug doc: fix docs, include, and Kconfig misspellings 2019-02-28 09:32:12 +01:00
Kconfig.ipv4 net: ipv4: Allow UDP packets with broadcast dst address 2019-05-20 14:11:11 +03:00
Kconfig.ipv6 net: bt: Add multi-link support 2019-05-07 11:16:29 +03:00
Kconfig.mgmt tests: net: increase stack size 2019-08-08 13:50:32 -07:00
Kconfig.stack net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig.stats net: ppp: Initial support for point-to-point protocol 2019-07-29 10:24:46 +03:00
nbr.c net: nbr: Set the link address type when saving neighbor data 2019-06-13 19:47:31 +03:00
nbr.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_context.c net: offload: When NET_OFFLOAD is enabled bypass some net_tcp functions 2019-09-23 10:36:01 +03:00
net_core.c net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
net_if.c net: if: Fix interface initialization with socket offloading 2019-10-15 11:06:40 +03:00
net_mgmt.c coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
net_pkt.c net: Add statistics how long packets have spent in TX path 2019-10-14 16:34:48 +03:00
net_private.h net: stats: Add functions to reset the statistics 2019-10-14 16:34:48 +03:00
net_shell.c net: shell: Add command to clear network statistics 2019-10-14 16:34:48 +03:00
net_shell.h net: shell: Migrate to new shell API 2018-10-15 11:14:02 +03:00
net_stats.c net: stats: Add functions to reset the statistics 2019-10-14 16:34:48 +03:00
net_stats.h net: stats: Add functions to reset the statistics 2019-10-14 16:34:48 +03:00
net_tc_mapping.h net: Fix credit-based shaper typos 2018-08-08 13:01:37 +03:00
net_tc.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
packet_socket.c net: sockets: Add socket api to support AF_PACKET 2019-02-07 14:43:30 +02:00
packet_socket.h net: core: Handle packets when packet sockets are enabled 2019-02-07 14:43:30 +02:00
promiscuous.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
route.c net: Added missing do to net_route_info macro 2019-09-17 11:27:19 +02:00
route.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
tcp_internal.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
tcp.c net: tcp: When closing the connection send FIN without extra delays 2019-10-17 17:02:18 +03:00
trickle.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
udp_internal.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
udp.c net/udp: Always drop IPv6 UDP packet if checksum field is 0 2019-05-30 13:02:25 +08:00
utils.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00