zephyr/tests
Sjors Hettinga 39328e8836 net: tcp: Discard duplicate data in reodering correctly
When all the data of the new packet is already present in the
queue_recv_data, make sure the packet is discarded.
This commit adds a test line that reproduces the issue and implements a
fix.

Also in appending the packet, call the official net_buf_frag_add function
instead of updating the last net_buf pointer, since the net_pkt_remove_tail
called in between, might have removed the last net_buf.

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2022-09-01 10:38:28 +00:00
..
application_development arch/riscv: support CONFIG_CODE_DATA_RELOCATION 2022-08-24 10:08:06 +02:00
arch tests/arch/common: Add tests for the arch timing API 2022-08-29 16:09:50 -04:00
benchmarks tests: benchmarks: move the cmsis_dsp bathmath test to new ztest API 2022-08-23 20:08:59 +02:00
bluetooth tests: Bluetooth: Mesh: make ext adv default in bsim mesh 2022-08-31 21:55:53 +00:00
boards logging: adsp hda backend improvements 2022-08-26 21:33:10 -04:00
boot/uefi
cmake/config_dir
crypto
drivers tests: drivers: sensor: move the accel test to new ztest API 2022-09-01 10:28:23 +02:00
kernel tests: exception/riscv: trigger illegal instruction from text section 2022-08-31 21:55:29 +00:00
lib tests: use HDA logging for mem_blocks test on cavs platforms 2022-09-01 10:26:52 +02:00
misc scripts/Kconfig: add dt_node_array_prop Kconfig functions 2022-08-18 12:21:33 +02:00
net net: tcp: Discard duplicate data in reodering correctly 2022-09-01 10:38:28 +00:00
posix tests: samples: revert timeout change for FVP BaseR 2022-08-16 15:51:38 +02:00
subsys tests: log_core_additional: Fix log_user test filter 2022-08-30 17:28:05 -04:00
unit tests: unit: list: move testcases to new ZTEST API 2022-08-31 21:51:37 +00:00
ztest tests: ztest: ztress: Disable on qemu_cortex_r5 2022-08-29 16:57:18 +02:00