nuttx/net/tcp
meijian 0bad215cf8 net/tcp: fix tcp will not close when tcp retransmission reaches TCP_MAXRTX
In "psock_send_eventhandler",when retransmit count bigger TCP_MAXRTX nuttx will set release wrb. But before this it will also set "conn->tx_unacked = 0" if we only retransmit one packet(conn->tx_unacked == sent),and In func "tcp_timer" only "conn->tx_unacked > 0" will close the tcp conn. So app will never close if nuttx retransmit over max timers.

Signed-off-by: meijian <meijian@xiaomi.com>
2024-05-22 17:46:04 -03:00
..
CMakeLists.txt
Kconfig
Make.defs
tcp_accept.c
tcp_appsend.c
tcp_backlog.c
tcp_callback.c
tcp_cc.c
tcp_close.c
tcp_conn.c net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00
tcp_connect.c
tcp_devpoll.c
tcp_dump.c
tcp_finddev.c
tcp_getsockopt.c tcp: decouple TCP_NODELAY and NET_TCP_KEEPALIVE 2024-04-29 17:45:14 +08:00
tcp_input.c net/tcp: return true only when send window updates 2024-03-13 22:24:04 +08:00
tcp_ioctl.c
tcp_ipselect.c
tcp_listen.c
tcp_monitor.c
tcp_netpoll.c
tcp_notifier.c
tcp_recvfrom.c
tcp_recvwindow.c
tcp_send_buffered.c net/tcp: fix tcp will not close when tcp retransmission reaches TCP_MAXRTX 2024-05-22 17:46:04 -03:00
tcp_send_unbuffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_send.c ipv6: Fix source address with many addresses in same network 2023-12-13 06:13:25 -08:00
tcp_sendfile.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_seqno.c
tcp_setsockopt.c tcp: decouple TCP_NODELAY and NET_TCP_KEEPALIVE 2024-04-29 17:45:14 +08:00
tcp_shutdown.c
tcp_timer.c
tcp_txdrain.c
tcp_wrbuffer.c
tcp.h