Re: [PATCH v11 3/3] crypto: Add Inside Secure SafeXcel EIP-93 crypto engine support
From: Christian Marangi (Ansuel)
Date: Tue Apr 01 2025 - 07:49:23 EST
Il giorno mar 1 apr 2025 alle ore 13:33 Herbert Xu
<herbert@xxxxxxxxxxxxxxxxxxx> ha scritto:
>
> On Tue, Apr 01, 2025 at 01:20:44PM +0200, Christian Marangi (Ansuel) wrote:
> >
> > Sorry but isn't it enough to acquire lock before eip93_put_descriptor to
> > prevent 2 thread?
>
> It would be, but where is the lock? In the other places where the
> same function is used you take the ring write lock. But not here
> in the hash function.
>
Oh god! You are right, now I'm noticing... The scoped guard is missing!
Let me quickly send a fix-up patch!