Re: [PATCH v6 1/2] crypto: skcipher AF_ALG - overhaul memory management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 10, 2017 at 12:54:58PM +0200, Stephan Müller wrote:
> Am Montag, 10. April 2017, 12:43:33 CEST schrieb Herbert Xu:
> 
> Hi Herbert,
> 
> > On Sat, Apr 01, 2017 at 10:52:30PM +0200, Stephan Müller wrote:
> > >  	lock_sock(sk);
> > > 
> > > -	while (msg_data_left(msg)) {
> > > -		if (!ctx->used) {
> > > -			err = skcipher_wait_for_data(sk, flags);
> > > -			if (err)
> > > -				goto unlock;
> > > +	while (iov_iter_count(&msg->msg_iter)) {
> > 
> > Please keep it as msg_data_left.
> 
> Shall I apply the algif_aead patch on top of your patch just sent to stable?

It doesn't really matter.  I'll figure it out when I apply it.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux