Re: [PATCH 2.6.30-rc5] ehea: fix invalid pointer access

From: David Howells
Date: Tue May 05 2009 - 05:46:41 EST


Hannes Hering <hannes.hering@xxxxxxxxxxxxxxxxxx> wrote:

> pref = skb_array[x];
> - prefetchw(pref);
> - prefetchw(pref + EHEA_CACHE_LINE);
> + if (pref) {
> + prefetchw(pref);
> + prefetchw(pref + EHEA_CACHE_LINE);

Ummm... Is prefetch() or prefetchw() faulting?

David
--
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/