On 25 January 2017 at 13:12, Alexander Bluhm wrote:
> Hi,
>
> I ran the regression tests with netlock and kern.splassert=2.
>
> panic: sleep: sosplice failed insomnia
> Stopped at Debugger+0x7: leave
> TIDPIDUID PRFLAGS PFLAGS CPU COMMAND
> 165128 1277 0
Hi,
I ran the regression tests with netlock and kern.splassert=2.
panic: sleep: sosplice failed insomnia
Stopped at Debugger+0x7: leave
TIDPIDUID PRFLAGS PFLAGS CPU COMMAND
165128 1277 0 0x2 01 relayd
* 72837 53210 0 0x14000
Hi,
As NET_LOCK() is a read/write lock, it can sleep in sotask(). So
the TASKQ_CANTSLEEP flag is no longer valid for the splicing thread.
ok?
bluhm
Index: kern/uipc_socket.c
===
RCS file: /data/mirror/openbsd/cvs/src/sys/kern/uipc