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

David Howells dhowells at redhat.com
Tue May 5 19:11:27 EST 2009


Hannes Hering <hannes.hering at linux.vnet.ibm.com> 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



More information about the Linuxppc-dev mailing list