Re: [PATCH 02/10] crypto: scatterwalk - Set the chain pointer indication bit

2013-11-28 Thread Herbert Xu
On Tue, Nov 12, 2013 at 11:46:10AM -0600, Tom Lendacky wrote: > The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain > function to chain two scatterlists, but the chain pointer indication > bit is not set. When the resulting scatterlist is used, for example, > by sg_nents to coun

[PATCH 02/10] crypto: scatterwalk - Set the chain pointer indication bit

2013-11-12 Thread Tom Lendacky
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because sg_nent

[PATCH 02/10] crypto: scatterwalk - Set the chain pointer indication bit

2013-11-12 Thread Tom Lendacky
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because sg_nent