Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-305

Inconsistent parameters regarding internal resource allocation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.1.0.0
    • Fix Version/s: V4.3.0.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      Both configurations of the LWIP library use inconsistent values in internal resource management:

      • The Library allow application to allocate more application buffers (pbuf) than it can handle TCP-segment buffers (segbuf). This results in situation that allocation of pbuf succeeds but trying to send data fails with "out of memory" because no free segbuf exists. It is expected, than after allocating a pbuf has succeeded, the send operation succeeds as well
      • Although the number of the in frame messages has been increased in the "netField" variant of the library, this has no effect since the number of zero copy pbuf's is still the same.

      The parameters used in internal resource management needs to be fixed to match each other. The fix is required for all versions of the library.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    BMeyer Benjamin Meyer
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: