Thread (34 messages) 34 messages, 3 authors, 2008-05-07

Re: [HIFN 06/n]: Properly handle requests for less than the full scatterlist

From: Evgeniy Polyakov <hidden>
Date: 2008-05-07 13:02:04

On Wed, May 07, 2008 at 02:30:28PM +0200, Patrick McHardy (kaber@trash.net) wrote:
    [HIFN]: Properly handle requests for less than the full scatterlist
    
    The scatterlist may contain more data than the crypto request, causing
    an underflow of the remaining byte count while walking the list.
    
    Use the minimum of the scatterlist element size and the remaining byte
    count specified in the crypto request to avoid this.
    
    Signed-off-by: Patrick McHardy [off-list ref]
That one is the nastiest! Thanks a lot Patrick for fixing that.
Ack of course.

-- 
	Evgeniy Polyakov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help