]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
authorHarsh Jain <harsh@chelsio.com>
Wed, 19 Sep 2018 17:12:16 +0000 (22:42 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Sep 2018 04:44:34 +0000 (12:44 +0800)
commit467339701e2b56aff65de9845740f01f7525fe3e
tree9656fb78ffdaa7b205a56fd30dfedd273195bca8
parent1e7b330591dc4d7e79a6295b6717d0ca163602ce
crypto: chelsio - Fix memory corruption in DMA Mapped buffers.

Update PCI Id in "cpl_rx_phys_dsgl" header. In case pci_chan_id and
tx_chan_id are not derived from same queue, H/W can send request
completion indication before completing DMA Transfer.

Herbert, It would be good if fix can be merge to stable tree.
For 4.14 kernel, It requires some update to avoid mege conficts.

Cc: <stable@vger.kernel.org>
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h