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

2020-06-10 Thread Herbert Xu
On Wed, Jun 10, 2020 at 05:05:43PM -0700, David Miller wrote: > > Maybe we can start handling these changes via the crypto tree at some > point? Yes that's good point Dave. How about we push changes for chcr_algo via the crypto tree and the rest via netdev? Thanks, -- Email: Herbert Xu Home Pa

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

2020-06-10 Thread David Miller
From: Ayush Sawal Date: Wed, 10 Jun 2020 02:54:30 +0530 > 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 length

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

2020-06-09 Thread Ayush Sawal
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 unreg