Re: [PATCH v11 3/3] crypto: Add Inside Secure SafeXcel EIP-93 crypto engine support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux