On 20/09/16(Tue) 16:37, Alexander Bluhm wrote:
> On Tue, Sep 20, 2016 at 04:17:37PM +0200, Mike Belopuhov wrote:
> > Can we assert that *_usrreq is always called under splsoftnet?
> I think that is the way to go. Long time back the spl moved from
> inet to socket. We need it in the socket layer to fix various
*_ussreq() is a can of worm. It is recursive and we'll have to split
per operation if if we want to avoid releasing/grabbing the lock again.
That said, assert are good putting more splsoftnet() should be avoided.