lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27209] tcp_input discards frames even though they are


From: Åke Rehnman
Subject: [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window
Date: Sun, 09 Aug 2009 14:25:25 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

URL:
  <http://savannah.nongnu.org/bugs/?27209>

                 Summary: tcp_input discards frames even though they are
within the announced window
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: rehnmaak
            Submitted on: sön  9 aug 2009 14.25.24
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

tcp_input discards frames if they are outside pcb->rcv_nxt + pcb->rcv_wnd -
1.

This happens if we are loosing packets at link level and rcv_wnd is less than
the announced window (why rcv_wnd is less than the announced window I don't
know).

If the comparison in tcp_input is changed to pcb->rcv_nxt + pcb->rcv_ann_wnd
- 1 instead the problem disappears.

Attached are capture files and a session.txt. It shows what packets are
actually sent to lwip. Packets marked with a star are discarded (for test
purposes).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: sön  9 aug 2009 14.25.24  Name: session.txt  Size: 25 kB   By:
rehnmaak

<http://savannah.nongnu.org/bugs/download.php?file_id=18544>
-------------------------------------------------------
Date: sön  9 aug 2009 14.25.24  Name: rcv_wnd_bug.txt  Size: 474 kB   By:
rehnmaak

<http://savannah.nongnu.org/bugs/download.php?file_id=18543>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Meddelandet skickades via/av Savannah
  http://savannah.nongnu.org/





reply via email to

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