Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 08:05:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218597] [CRYPTODEV] spurious wakeup and synchronisation problem
Message-ID:  <bug-218597-8-aUiR9pVapd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218597-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218597-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218597

--- Comment #5 from Alexandre martins <alexandre.martins@stormshield.eu> ---
(In reply to Alexandre martins from comment #4)

It seems that the cession is not thread safe, for example in cryptodev_op:

 ...
 712         cse->uio.uio_iov = &cse->iovec;
 713         cse->uio.uio_iovcnt = 1;
 714         cse->uio.uio_offset = 0;
 ...     

There is no lock around that.

Should I propose a bigger patch to fix that ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218597-8-aUiR9pVapd>