Subject: Re: no listeners loaded [was: Re: CVS commit: src/sys/kern]
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 09/13/2006 23:39:23
> -	/* Short-circuit requests when there are no listeners. */
> -	if (SIMPLEQ_EMPTY(&scope->listenq))
> -		return (0);
> +	/*
> +	 * If there are no listeners on this scope, check if any listeners
> +	 * were loaded at all. If not, it's probably intentional and we
> +	 * should let the request through. Otherwise, fail it.
> +	 */
> +	if (SIMPLEQ_EMPTY(&scope->listenq)) {
> +		if (!listeners_have_been_loaded)
> +			return (0);
> +
> +		return (EPERM);
> +	}

did you omit another part of the patch which turns
listeners_have_been_loaded on?

YAMAMOTO Takashi