diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-13 14:46:45 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-13 14:46:45 +0000 |
commit | d59089b5763be9196ea2b0a10c9e07c00056851a (patch) | |
tree | 59f40084cf0ee58699af174463d892c54a5cc5a1 /pkg/tcpip | |
parent | 83f71d0127993889486eafd9221b5229e1f7f982 (diff) | |
parent | eb0f24c6c48ea5301c5136b53333e189d0dc4c58 (diff) |
Merge release-20210806.0-23-geb0f24c6c (automated)
Diffstat (limited to 'pkg/tcpip')
-rw-r--r-- | pkg/tcpip/transport/udp/endpoint.go | 2 |
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() |