zephyr/tests/net
Sjors Hettinga a28a656aa0 net: tcp: Avoid double acknowlegding retransmitted data
In the FIN_WAIT_1 any incoming data is dropped, but anknowledged. Add a
check to see if the data is already acknowleged to prevent double
acknowledging of the data and bringing the acknowlegde counter out of
sync. When the acknowledge counter gets out of sync, the connection will
never properly terminate any more.

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2023-05-15 15:25:51 +02:00
..
6lo samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
all samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
arp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bridge samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
buf samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
buf_simple samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
checksum_offload samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
conn_mgr net: conn_mgr: Add test suite 2023-05-11 12:15:44 +02:00
conn_mgr_conn net: conn_mgr: connect/disconnect adjustments 2023-05-11 12:15:44 +02:00
context samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
dhcpv4 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ethernet_mgmt samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hostname samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
icmpv4 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
icmpv6 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ieee802154 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
iface samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
igmp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ip-addr samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ipv4_fragment samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ipv6 net: iface: Improve thread safety of net_if_ipv*_maddr_* functions 2023-05-10 11:06:15 +02:00
ipv6_fragment samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
lib tests: net: lwm2m: Add tests for block transfer 2023-05-15 09:18:09 +02:00
mgmt samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mld samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mocks test: net: buf_simple: Add unit tests for simple buffers 2023-03-15 10:50:16 +01:00
neighbor samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
net_pkt net: pkt: Allow zero payload for non-IPv4/v6 frames 2023-02-06 10:04:03 +01:00
npf samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
offloaded_netdev samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
pm samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ppp/driver samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
promiscuous samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ptp/clock samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
route samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
route_mcast samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
shell samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
socket net: tcp: Avoid double acknowlegding retransmitted data 2023-05-15 15:25:51 +02:00
tcp net: tcp: test: Implement correct sequence number feeding around FIN 2023-05-15 15:25:51 +02:00
traffic_class samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
trickle samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
tx_timestamp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
udp includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
utils samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
virtual samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
vlan samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00