zephyr/subsys/net
Luca Fancellu d61dcf2f1d net: zperf: improve code quality for tcp_received function
Currently, in tcp_received function defined in zperf_tcp_receiver
module, the assignment of session->state to STATE_COMPLETED is
overwritten on the same path to STATE_NULL and a session is
considered free for both STATE_COMPLETED and STATE_NULL, so remove
the assignment to STATE_NULL.
Remove the break from the STATE_COMPLETED case handling so that it
can fallthrough, in case the same session is used after finish.
Remove also the STATE_LAST_PACKET_RECEIVED case because this state
is never reached.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
2023-02-28 18:12:52 +01:00
..
ip net: tcp: Fix packet processing result reporting 2023-02-23 09:07:52 +01:00
l2 net: l2: wifi: Log packet errors 2023-02-24 11:49:41 +01:00
lib net: zperf: improve code quality for tcp_received function 2023-02-28 18:12:52 +01:00
pkt_filter subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
buf.c net: buf: Simplify fragment handling 2022-12-06 11:06:43 +02:00
CMakeLists.txt net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
Kconfig Kconfig: net: Remove deprecated NET_BUF_USER_DATA_LEN 2022-12-01 15:50:35 +01:00
Kconfig.hostname net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig.template.log_config.default.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00