Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227407

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

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] iommu-common: Do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint
Date 2015-09-17 23:30 +0200
Message-ID <q9OUG-7wd-13@gated-at.bofh.it> (permalink)
References <q9wEq-5yg-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 16 Sep 2015 21:50:43 -0400 Sowmini Varadhan <sowmini.varadhan@oracle.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] iommu-common: Do not try to deref a null iommu->lazy_flush()  pointer when n < pool->hint Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-17 04:00 +0200
  Re: [PATCH] iommu-common: Do not try to deref a null  iommu->lazy_flush() pointer when n < pool->hint Andrew Morton <akpm@linux-foundation.org> - 2015-09-17 23:30 +0200
    Re: [PATCH] iommu-common: Do not try to deref a null  iommu->lazy_flush() pointer when n < pool->hint Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-17 23:40 +0200
      Re: [PATCH] iommu-common: Do not try to deref a null  iommu->lazy_flush() pointer when n < pool->hint Andrew Morton <akpm@linux-foundation.org> - 2015-09-17 23:50 +0200

csiph-web