buglwIP - A Lightweight TCP/IP stack - Bugs: bug #45544, Fix netbuf_destport() when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45544: Fix netbuf_destport() when LWIP_CHECKSUM_ON_COPY is not enabled

Submitter:  Joel Cunningham <jcunningham>
Submitted:  Mon 13 Jul 2015 10:48:59 PM UTC
   
 
Category:  sockets/netconn Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Tue 14 Jul 2015 08:18:24 PM UTC, comment #1: 

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 13 Jul 2015 10:48:59 PM UTC, original submission:  

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

Joel Cunningham <jcunningham>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #34441:  0001-Fix-netbuf_destport.patch added by jcunningham (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by jcunningham (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-14 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2015-07-13 jcunningham Attached File- Added 0001-Fix-netbuf_destport.patch, #34441

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code