Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247316

Re: [PATCH v4 7/8] zram: use crypto contextless compression API to (de)compress

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 7/8] zram: use crypto contextless compression API to (de)compress
Date 2015-10-15 04:00 +0200
Message-ID <qjFZL-8q-11@gated-at.bofh.it> (permalink)
References <qjoPf-8w0-5@gated-at.bofh.it> <qjoPf-8w0-17@gated-at.bofh.it> <qjEKm-6Sr-7@gated-at.bofh.it> <qjFdo-7FB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (10/15/15 10:07), Joonsoo Kim wrote:
[..]
> > >  	if (error) {
> > > +		crypto_free_ccomp(comp->tfm);
> > >  		kfree(comp);
> > 
> > hm... zcomp_destroy(comp) ?
> 
> It's not possible to use zcomp_destroy() here. It tries to access
> field of comp->stream which could be NULL.

ah, yep. my bad.

	-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 7/8] zram: use crypto contextless compression API to (de)compress Joonsoo Kim <js1304@gmail.com> - 2015-10-14 09:40 +0200
  Re: [PATCH v4 7/8] zram: use crypto contextless compression API to  (de)compress Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-10-15 02:40 +0200
    Re: [PATCH v4 7/8] zram: use crypto contextless compression API to  (de)compress Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-10-15 03:10 +0200
      Re: [PATCH v4 7/8] zram: use crypto contextless compression API to  (de)compress Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-10-15 04:00 +0200

csiph-web