patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9202, tcp: Make...

 
 

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

patch #9202: tcp: Make tcp_listen_with_backlog_and_err return NULL if the address/port is already used

Submitter:  Axel Lin <axellin>
Submitted:  Sun 01 Jan 2017 07:45:58 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Sun 01 Jan 2017 06:54:48 PM UTC, comment #1: 

Yes, good one.

Dirk Ziegelmeier <dziegel>
Group administrator
Sun 01 Jan 2017 07:45:58 AM UTC, original submission:  

The caller of tcp_listen_with_backlog_and_err() usually check if the return
pcb is NULL before checking the err reason. I think the commit adding
tcp_listen_with_backlog_and_err() accidently change the behavior, Fix it.

Fixes: 98fc82fa7128 ("added function tcp_listen_with_backlog_and_err() to get the error reason when listening fails")

Axel Lin <axellin>
Group Member

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by axellin (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-01 dziegel StatusNone Done
        Open/ClosedOpen Closed
    2017-01-01 axellin Attached File- Added 0001-tcp-Make-tcp_listen_with_backlog_and_err-return-NULL.patch, #39337

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code