Re: [PATCH] iommu-common: Do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint

From: Andrew Morton
Date: Thu Sep 17 2015 - 17:26:49 EST


On Wed, 16 Sep 2015 21:50:43 -0400 Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx> wrote:

> The check for invoking iommu->lazy_flush() from iommu_tbl_range_alloc()
> has to be refactored so that we only call ->lazy_flush() if it is non-null.

Patch looks good.

But I don't know which kernel versions need the fix. So, when fixing a
bug please always describe the end-user visible effects of that bug.
Under what circumstances did your kernel crash?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/