|
From: | Karol Domagalski |
Subject: | [lwip-devel] tcp_abort(struct tcp_pcb *pcb) problem |
Date: | Fri, 12 Oct 2018 18:00:18 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello,There is a problem in tcp_abort function, when it is used with pcb in "Active" state. The source port of RST packet sent is set to 0 .
In the previous version of LwIP in tcp_abandon function there was variable "local_port". It was used to store the local port of pcb before calling TCP_PCB_REMOVE_ACTIVE, and then it was passed as argument to tcp_rst instead of pcb->local_port which is set to zero at this moment.
I don't know what was an idea to remove this variable from current version of LwIP, but from my point of view it doesn't work properly now.
Regards -- Karol Domagalski Software-Hardware Engineer B.P.I. SoftCad address@hidden www.softcad.com.pl
[Prev in Thread] | Current Thread | [Next in Thread] |