]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Oct 2018 07:27:28 +0000 (09:27 +0200)
commit75fc05a20f5fa0b4e1ccfbf14130c3842adcdbe5
treee2593205ee25adcd3f02c4632267c5881ff790c6
parentb5dcd4ab8e6c1368048002b8f648a434c4bacae6
crypto: chelsio - Fix memory corruption in DMA Mapped buffers.

commit add92a817e60e308a419693413a38d9d1e663aff upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h