Skip to content

Fixing issues in dma mapping and driver removal

Ayush Sawal netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Crypto/chcr: Calculate src and dst sg lengths separately for dma mapdrivers/crypto/chelsio/chcr_algo.c+45 -180 replies
2/2Crypto/chcr: Checking cra_refcnt before unregistering the algorithmsdrivers/crypto/chelsio/chcr_algo.c+14 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] Fixing issues in dma mapping and driver removal

Patch 1: This fixes the kernel panic which occurs due to the accessing of a zero length sg.

Patch 2: Avoiding unregistering the algorithm if cra_refcnt is not 1.

Ayush Sawal (2):
Crypto/chcr: Calculate src and dst sg lengths separately for dma map Crypto/chcr: Checking cra_refcnt before unregistering the algorithms

 drivers/crypto/chelsio/chcr_algo.c | 81 ++++++++++++++++++++++--------
 1 file changed, 59 insertions(+), 22 deletions(-)
Signature · 1 line
2.26.0.rc1.11.g30e9940