diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-14 16:44:56 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-14 16:47:19 -0700 |
commit | 8d14edb14b6b757f049faf760c72d58616903d7a (patch) | |
tree | 875ab242cd4593ace898265346b231b45633a3a7 /pkg/urpc | |
parent | 603f473ada5f5cacc759c8810df01f47905ba5e9 (diff) |
Explicitly bind endpoint to a NIC
Previously, any time a datagram-based network endpoint (e.g. UDP) was
bound, the bound NIC is always set based on the bound address (if
specified). However, we should only consider the endpoint bound to
an NIC if a NIC was explicitly bound to.
If an endpoint has been bound to an address and attempts to send packets
to an unconnected remote, the endpoint will default to sending packets
through the bound address' NIC if not explicitly bound to a NIC.
Updates #6565.
PiperOrigin-RevId: 396712415
Diffstat (limited to 'pkg/urpc')
0 files changed, 0 insertions, 0 deletions