code: func (n *NIC) RemoveAddress(addr tcpip.Address) *tcpip.Error {
  	n.mu.Lock()
  	r := n.endpoints[NetworkEndpointID{addr}]
  	if r == nil || !r.holdsInsertRef {
  		n.mu.Unlock()
  		return tcpip.ErrBadLocalAddress
  	}
  
  	r.holdsInsertRef = false
  	n.mu.Unlock()
  
  	r.decRef()
  
  	return nil
  }
docs: // RemoveAddress removes an address from n.