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

Submitted by:  James Smith <rallysmith>
Submitted on:  Tue 17 Jul 2012 09:20:09 AM UTC  
 
Category: TCPSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Ivan Delamer <idelamer>
Open/Closed: ClosedPlanned 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>
Project MemberIn charge of this item.
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>

 

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
  • -unavailable- added by idelamer (Posted a comment)
  • -unavailable- added by rallysmith (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 24 Jul 2012 04:36:47 PM UTCidelamerStatusNone=>Fixed
      Assigned toNone=>idelamer
      Open/ClosedOpen=>Closed
    Tue 17 Jul 2012 09:20:09 AM UTCrallysmithAttached File-=>Added tcplisten.patch, #26213

    Back to the top


    Powered by Savane 3.1-cleanup1