summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-13 14:46:45 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-13 14:46:45 +0000
commitd59089b5763be9196ea2b0a10c9e07c00056851a (patch)
tree59f40084cf0ee58699af174463d892c54a5cc5a1 /pkg/tcpip
parent83f71d0127993889486eafd9221b5229e1f7f982 (diff)
parenteb0f24c6c48ea5301c5136b53333e189d0dc4c58 (diff)
Merge release-20210806.0-23-geb0f24c6c (automated)
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/transport/udp/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go
index 82a3f2287..108580508 100644
--- a/pkg/tcpip/transport/udp/endpoint.go
+++ b/pkg/tcpip/transport/udp/endpoint.go
@@ -266,7 +266,7 @@ func (e *endpoint) Close() {
for mem := range e.multicastMemberships {
e.stack.LeaveGroup(e.NetProto, mem.nicID, mem.multicastAddr)
}
- e.multicastMemberships = make(map[multicastMembership]struct{})
+ e.multicastMemberships = nil
// Close the receive list and drain it.
e.rcvMu.Lock()