patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH v1] app/test-crypto-perf: fix double allocation of memory
       [not found] ` <1536561658-3830-1-git-send-email-anoob.joseph@caviumnetworks.com>
@ 2018-09-26 12:26   ` Akhil Goyal
  0 siblings, 0 replies; only message in thread
From: Akhil Goyal @ 2018-09-26 12:26 UTC (permalink / raw)
  To: Anoob Joseph, Declan Doherty, Pablo de Lara
  Cc: Jerin Jacob, Narayana Prasad, dev, Akash Saxena, stable



On 9/10/2018 12:10 PM, Anoob Joseph wrote:
> The field, 'cipher_iv.data' is allocated twice when cipher is not null.
> Ideally the allocation should depend only on the field
> 'cperf_options.cipher_iv_sz'. This will make sure this code path gets
> valid for ciphers which doesn't require IV.
>
> Fixes: 0fbd75a99fc9 ("cryptodev: move IV parameters to session")
>
> Signed-off-by: Akash Saxena <akash.saxena@caviumnetworks.com>
> Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
>
Applied to dpdk-next-crypto

cc: stable@dpdk.org

Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-26 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1536560043-24807-1-git-send-email-anoob.joseph@caviumnetworks.com>
     [not found] ` <1536561658-3830-1-git-send-email-anoob.joseph@caviumnetworks.com>
2018-09-26 12:26   ` [dpdk-stable] [dpdk-dev] [PATCH v1] app/test-crypto-perf: fix double allocation of memory Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).