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:
Jeff Martin
2024-07-09 13:59:59 -07:00
committed by gVisor bot
parent fa204cf4cc
commit 772fccacb4
3 changed files with 0 additions and 10 deletions
-3
View File
@@ -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.
-3
View File
@@ -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
-4
View File
@@ -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()