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

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

 



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?

Thanks.

Ciao
Stephan



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

  Powered by Linux