On Thu, Dec 06, 2007 at 12:25:57AM -0600, Joy Latten wrote:
> In scatterwalk_map_and_copy(), sg_next(sg) is called, 
> loop goes back to top and scatterwalk_start() gets called
> again. When next sg is NULL, BUG_ON may occur in next call to
> scatterwalk_start().
> 
> Please let me know if following patch takes
> right approach to fix this.

If it's NULL it means that the sg you're giving it doesn't have
sufficient data so you need to find out why that is the case.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to