patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9987, Make tcp_listen() inherit the...

 
 

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

patch #9987: Make tcp_listen() inherit the netbuf_idx of the original pcb

Submitter:  Oliver Hitz <ohitz>
Submitted:  Tue 27 Oct 2020 11:02:02 AM UTC
   
 
Category:  TCP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Thu 04 Mar 2021 08:16:07 PM UTC, comment #1: 

Pushed, thanks for the patch!

Simon Goldschmidt <goldsimon>
Group administrator
Tue 27 Oct 2020 11:02:02 AM UTC, original submission:  

This simple patch causes tcp_listen() to inherit the netbuf_idx setting of the original pcb. Without this, it is not possible to restrict a socket to a specific interface using SO_BINDTODEVICE before listening.

Oliver Hitz <ohitz>

 

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

Attached Files
file #50133:  tcp_listen_netif_idx.patch added by ohitz (452B - text/x-patch)

 

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 ohitz (Submitted the item)
  • -email is unavailable- added by ohitz
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-04 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2020-10-27 ohitz Attached File- Added tcp_listen_netif_idx.patch, #50133
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code