buglwIP - A Lightweight TCP/IP stack - Bugs: bug #36857, tcp_listen_dual_with_backlog()...

 
 

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

bug #36857: tcp_listen_dual_with_backlog() only works with ANY address

Submitter:  James Smith <rallysmith>
Submitted:  Tue 17 Jul 2012 09:20:09 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  idelamer
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Tue 24 Jul 2012 04:36:47 PM UTC, comment #1: 

Fixed, thanks for reporting.

Cheers
Ivan

Ivan Delamer <idelamer>
Group Member
Tue 17 Jul 2012 09:20:09 AM UTC, original submission:  

The logic in tcp_listen_dual_with_backlog() incorrectly drops any request not using ANY, when it should just be setting "accept_any_ip_version" when ANY is specified.

The attached patch is a simple fix to perform the requested listen; and then set "accept_any_ip_version" if ANY was indeed passed.

James Smith <rallysmith>

 

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

Attached Files
file #26213:  tcplisten.patch added by rallysmith (554B - 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 idelamer (Posted a comment)
  • -email is unavailable- added by rallysmith (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
    2012-07-24 idelamer StatusNone Fixed
        Assigned toNone idelamer
        Open/ClosedOpen Closed
    2012-07-17 rallysmith Attached File- Added tcplisten.patch, #26213

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code