Skip to content
Commit 0e2986f1 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

net/tcp: The logic that binds a specific networkd device to a connection was...

net/tcp:  The logic that binds a specific networkd device to a connection was faulty for the case of multiple network devices.  On bind(), the local address should be used to associate a device with the connection (if the local address is not INADDR_ANY); On connect(), the remote address should be used (in case the local address is INADDR_ANY).  On accept(), it does not matter but the remote address is the one guarenteed to be available.
parent f44320d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment