]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Wed, 10 Oct 2018 06:56:07 +0000 (08:56 +0200)
commit27dff727876e4df82b548716c9d73bd40548f449
treee7f4fcfd98c677fa6d8e00f932d6c5984bad73a8
parent18b4a538497d919a1e96a5eceee6e1803a94f0bd
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