On 20 September 2016 at 15:55, Alexander Bluhm <alexander.bl...@gmx.net> wrote:
> On Tue, Sep 20, 2016 at 08:21:55AM -0400, David Hill wrote:
>> With bluhm's r1.160 uipc_socket.c.
> With splsoftnet() in soshutdown() I can fix this one.
> splassert: sowwakeup: want 5 have 0
> Starting stack trace...
> splassert_check() at splassert_check+0x78
> sowwakeup() at sowwakeup+0x27
> uipc_usrreq() at uipc_usrreq+0xfd
> sys_shutdown() at sys_shutdown+0x67
> syscall() at syscall+0x27b
> --- syscall (number 134) ---
> end of kernel
> end trace frame: 0xe8f2cba5e80, count: 252
> End of stack trace.
Can we assert that *_usrreq is always called under splsoftnet?
I recall fixing some of them for raw sockets and some such and
was wondering if the spl has to be raised before we end up there.