lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20531] cs8900 driver in c16x port cannot handle pbufs


From: Mike Kleshov
Subject: [lwip-devel] [bug #20531] cs8900 driver in c16x port cannot handle pbufs with odd number of bytes
Date: Thu, 19 Jul 2007 09:54:56 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

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

                 Summary: cs8900 driver in c16x port cannot handle pbufs with
odd number of bytes
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: kleshov
            Submitted on: Thursday 07/19/2007 at 09:54
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

The cs8900 driver in contrib\ports\c16x\netif does not handle chained pbuf's
with odd numberof bytes correctly. It has a warning comment 'this routine
assumes 16-bit boundary pbufs', but the comment is too vague, since it can be
understood as 'pbuf's must be aligned at 16-bit boundaries'.
Many real-world applications will use chained pbuf's with odd number of
bytes.
Proposed change: remove the limitation. Attaching a patch. The patch has been
tested on a target board.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 07/19/2007 at 09:54  Name: cs8900if.c.patch  Size: 2kB   By:
kleshov

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

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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