incubator-nuttx/net/tcp
梁超众 b33474cb11 free TCP rx buffer immediately in tcp_close
Issue:
TCP rx buffer is freed after 4-way handshake with current design.
3 socket's rx buffer might be consumed during ffmpeg switch music procedure,
and this might cause IOB exhausted.

Solution:
free TCP rx buffer immediately in tcp_close to make sure IOB won't be
exhausted.

Signed-off-by: 梁超众 <liangchaozhong@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-30 11:25:36 +08:00
..
Kconfig net/tcp: add Selective-ACK support 2023-01-18 16:24:09 +08:00
Make.defs net: fix the build when CONFIG_NET_TCP_WRITE_BUFFERS is not enabled 2022-05-18 07:54:17 +09:00
tcp.h free TCP rx buffer immediately in tcp_close 2023-01-30 11:25:36 +08:00
tcp_accept.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_appsend.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_backlog.c libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
tcp_callback.c net/tcp: add out-of-order segment support 2023-01-18 16:24:09 +08:00
tcp_close.c free TCP rx buffer immediately in tcp_close 2023-01-30 11:25:36 +08:00
tcp_conn.c free TCP rx buffer immediately in tcp_close 2023-01-30 11:25:36 +08:00
tcp_connect.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_devpoll.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_dump.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
tcp_finddev.c tcp: modify errno when connect raddr is ANY for ltp 2023-01-29 13:45:49 +08:00
tcp_getsockopt.c net/tcp: Use the relative value for keep alive timer 2022-05-18 18:40:41 +03:00
tcp_input.c support ipv4 ToS and ipv6 TrafficClass 2023-01-29 13:43:44 +08:00
tcp_ioctl.c net: Align the prototype of sock_intf_s::si_ioctl with file_operations::ioctl 2022-09-06 22:46:37 +08:00
tcp_ipselect.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_listen.c
tcp_monitor.c net/soerr: add new _SO_CONN_SETERRNO() macro 2022-11-24 22:57:42 +08:00
tcp_netpoll.c tcp_netpoll: add assert into tcp_pollsetup when pollinfo invalid 2023-01-28 23:27:14 +02:00
tcp_notifier.c
tcp_recvfrom.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_recvwindow.c net/tcp: add out-of-order segment support 2023-01-18 16:24:09 +08:00
tcp_send.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_send_buffered.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_send_unbuffered.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_sendfile.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_seqno.c net/tcp: Avoid starting TCP sequence number 0 2022-11-13 09:09:36 +08:00
tcp_setsockopt.c tcp: move wd_timer from wifi driver to tcp stack 2022-05-28 16:29:51 +08:00
tcp_timer.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_txdrain.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_wrbuffer.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00