What is the relationship between liberalism and utilitarianism as Mill and Rawls understand it?

What is the relationship between liberalism and utilitarianism as Mill and Rawls understand it?