lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #52403] netconn: FIN may be sent instead of RST when T


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #52403] netconn: FIN may be sent instead of RST when TCP netconn is closed with pending data in recv_mbox
Date: Wed, 15 Nov 2017 15:11:56 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Update of bug #52403 (project lwip):

                  Status:                    None => Confirmed              
             Assigned to:                    None => goldsimon              
                 Summary: lwIP TCP implementation violate RFC2525 section 2.17
=> netconn: FIN may be sent instead of RST when TCP netconn is closed with
pending data in recv_mbox

    _______________________________________________________

Follow-up Comment #3:

OK, so the short version is that in your specific situation, a FIN was sent
instead of a RST because netconn_drain calls tcp_recved, which it probably
shouldn't?

That analysis sounds correct, tcp_recved should really not be called in this
case.

Updated summary accordingly.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?52403>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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