lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #54833] tcp_abort(struct tcp_pcb *pcb) problem


From: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #54833] tcp_abort(struct tcp_pcb *pcb) problem
Date: Fri, 12 Oct 2018 13:41:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

URL:
  <https://savannah.nongnu.org/bugs/?54833>

                 Summary: tcp_abort(struct tcp_pcb *pcb) problem
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dziegel
            Submitted on: Fri 12 Oct 2018 05:41:31 PM UTC
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: goldsimon
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.0

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54833>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]