NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/40940: panic: KASSERT(solocked(sb-sb_so) in key_receive
The following reply was made to PR kern/40940; it has been noted by GNATS.
From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/40940: panic: KASSERT(solocked(sb-sb_so) in key_receive
Date: Mon, 2 Mar 2009 19:35:41 +0000
On Sun, Mar 01, 2009 at 08:35:00PM +0000, kardel%pip.acrys.com@localhost wrote:
> key_receive
> do_sys_recvmsg
> sys_recvfrom
> syscall
These changes in key_receive should fix it:
- Replace splsoftnet with:
mutex_enter(softnet_lock);
KERNEL_LOCK(1, NULL);
- Replace splx with:
KERNEL_UNLOCK_ONE(NULL);
mutex_exit(softnet_lock);
Home |
Main Index |
Thread Index |
Old Index