/* Return: 0 on success, %-EINVAL if mtu too small  */
static int ip6_tnl_change_mtu(struct net_device *dev, int new_mtu)
/* Return: 0 on success, %-EINVAL if mtu too small  */
static int ip6_tnl_change_mtu(struct net_device *dev, int new_mtu)
{
	if (new_mtu < IPV6_MIN_MTU) {
		return -EINVAL;
	}
	dev->mtu = new_mtu;
	return 0;
}