mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: remove stale TODOs for multicast forwarding
Support for multicast forwarding was finished by nahurley@google.com in
commit 7d3a75fa60. These TODOs are no
longer applicable and can be removed
Updates #7338
PiperOrigin-RevId: 650748952
This commit is contained in:
@@ -96,9 +96,6 @@ type endpoint struct {
|
||||
|
||||
// multicastForwarding is set to forwardingEnabled when the endpoint has
|
||||
// forwarding enabled and forwardingDisabled when it is disabled.
|
||||
//
|
||||
// TODO(https://gvisor.dev/issue/7338): Implement support for multicast
|
||||
//forwarding. Currently, setting this value to true is a no-op.
|
||||
multicastForwarding atomicbitops.Uint32
|
||||
|
||||
// mu protects below.
|
||||
|
||||
@@ -218,9 +218,6 @@ type endpoint struct {
|
||||
|
||||
// multicastForwarding is set to forwardingEnabled when the endpoint has
|
||||
// forwarding enabled and forwardingDisabled when it is disabled.
|
||||
//
|
||||
// TODO(https://gvisor.dev/issue/7338): Implement support for multicast
|
||||
// forwarding. Currently, setting this value to true is a no-op.
|
||||
multicastForwarding atomicbitops.Uint32
|
||||
|
||||
mu endpointMu
|
||||
|
||||
@@ -697,10 +697,6 @@ func (s *Stack) DisableMulticastForwardingForProtocol(protocol tcpip.NetworkProt
|
||||
// the specified NIC for the passed protocol.
|
||||
//
|
||||
// Returns the previous configuration on the NIC.
|
||||
//
|
||||
// TODO(https://gvisor.dev/issue/7338): Implement support for multicast
|
||||
// forwarding. Currently, setting this value is a no-op and is not ready for
|
||||
// use.
|
||||
func (s *Stack) SetNICMulticastForwarding(id tcpip.NICID, protocol tcpip.NetworkProtocolNumber, enable bool) (bool, tcpip.Error) {
|
||||
s.mu.RLock()
|
||||
defer s.mu.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user