Re: algif_aead: AIO broken with more than one iocb

2016-11-11 Thread Stephan Mueller
Am Dienstag, 13. September 2016, 18:12:46 CET schrieb Herbert Xu: Hi Herbert, > On Sun, Sep 11, 2016 at 04:59:19AM +0200, Stephan Mueller wrote: > > Hi Herbert, > > > > The AIO support for algif_aead is broken when submitting more than one > > iocb.> > > The break happens in aead_recvmsg_async

Re: algif_aead: AIO broken with more than one iocb

2016-09-13 Thread Stephan Mueller
Am Dienstag, 13. September 2016, 18:12:46 CEST schrieb Herbert Xu: Hi Herbert, > I don't think we should allow that. We should make it so that you > must start a recvmsg before you can send data for a new request. > > Remember that the async path should be identical to the sync path, > except

Re: algif_aead: AIO broken with more than one iocb

2016-09-11 Thread Stephan Mueller
Am Sonntag, 11. September 2016, 08:43:00 CEST schrieb Jeffrey Walton: Hi Jeffrey, > > The AIO support for algif_aead is broken when submitting more than one > > iocb. > > The break happens in aead_recvmsg_async at the following code: > I think the kernel needs to take a half step back, and add