lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #45544] Fix netbuf_destport() when LWIP_CHECKSUM_ON_CO


From: Joel Cunningham
Subject: [lwip-devel] [bug #45544] Fix netbuf_destport() when LWIP_CHECKSUM_ON_COPY is not enabled
Date: Mon, 13 Jul 2015 22:49:01 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

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

                 Summary: Fix netbuf_destport() when LWIP_CHECKSUM_ON_COPY is
not enabled
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Mon 13 Jul 2015 10:48:59 PM GMT
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

The implementation of netbuf_destport() is not correct when
LWIP_NETBUF_RECVINFO is enabled, but not LWIP_CHECKSUM_ON_COPY

The flags field is only available when LWIP_CHECKSUM_ON_COPY is enabled and
thus we shouldn't check it in netbuf_destport() when only LWIP_NETBUF_RECVINFO
is enabled

Attached is a patch that adds an alternate definition of netbuf_destport()
when only LWIP_NETBUF_RECVINFO is enabled



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 13 Jul 2015 10:49:00 PM GMT  Name: 0001-Fix-netbuf_destport.patch 
Size: 1kB   By: jcunningham

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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