diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-18 21:14:32 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-18 21:14:32 +0000 |
commit | 6ca306246ce9c35cd06b155153a14f926cdb7b96 (patch) | |
tree | f38ef1fc8308a340addbb076b8f518f2c2ef5d29 /pkg/tcpip/stack | |
parent | ab5d3180b0d36d1cd75e8020d30454ac3161ed4e (diff) | |
parent | 4e6f3a0c71e4107efb5c9446508876f942b30ec7 (diff) |
Merge release-20190806.1-288-g4e6f3a0 (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r-- | pkg/tcpip/stack/nic.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go index 43f4ad91e..12c82f8b8 100644 --- a/pkg/tcpip/stack/nic.go +++ b/pkg/tcpip/stack/nic.go @@ -173,11 +173,6 @@ func (n *NIC) primaryEndpoint(protocol tcpip.NetworkProtocolNumber) *referencedN for e := list.Front(); e != nil; e = e.Next() { r := e.(*referencedNetworkEndpoint) - // TODO(crawshaw): allow broadcast address when SO_BROADCAST is set. - switch r.ep.ID().LocalAddress { - case header.IPv4Broadcast, header.IPv4Any: - continue - } if r.isValidForOutgoing() && r.tryIncRef() { return r } |