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> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||