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

Submitted by:  Joel Cunningham <jcunningham>
Submitted on:  Mon 13 Jul 2015 10:48:59 PM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

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

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
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>
Project Member

 

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
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by jcunningham (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Jul 2015 08:18:24 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Mon 13 Jul 2015 10:49:00 PM UTCjcunninghamAttached File-=>Added 0001-Fix-netbuf_destport.patch, #34441

    Back to the top


    Powered by Savane 3.1-cleanup1