Re: [PATCH v3] crypto: algif_aead - skip SGL entries with NULL page

2017-11-24 Thread Stephan Mueller
Am Freitag, 24. November 2017, 08:37:28 CET schrieb Herbert Xu: Hi Herbert, > On Fri, Nov 10, 2017 at 11:04:52AM +0100, Stephan Müller wrote: > > Hi Herbert, > > > > I missed the termination of the outer loop of list_for_each_entry_safe. > > > > The patch was tested on x86 64 and 32 bit environ

Re: [PATCH v3] crypto: algif_aead - skip SGL entries with NULL page

2017-11-24 Thread Herbert Xu
On Fri, Nov 10, 2017 at 11:04:52AM +0100, Stephan Müller wrote: > Hi Herbert, > > I missed the termination of the outer loop of list_for_each_entry_safe. > > The patch was tested on x86 64 and 32 bit environments. > > ---8<--- > > The TX SGL may contain SGL entries that are assigned a NULL page

[PATCH v3] crypto: algif_aead - skip SGL entries with NULL page

2017-11-10 Thread Stephan Müller
Hi Herbert, I missed the termination of the outer loop of list_for_each_entry_safe. The patch was tested on x86 64 and 32 bit environments. ---8<--- The TX SGL may contain SGL entries that are assigned a NULL page. This may happen if a multi-stage AIO operation is performed where the data for e