From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Mar  1 01:31:47 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA34673;
	Thu, 1 Mar 2001 01:31:47 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from hitpro.hitachi.co.jp (root@hitpro.hitachi.co.jp [133.145.224.7])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id BAA34668
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 1 Mar 2001 01:31:47 +0900 (JST)
	(envelope-from ume@bisd.hitachi.co.jp)
Received: from bisdgw.bisd.hitachi.co.jp by hitpro.hitachi.co.jp (8.9.3/3.7W-hitpro) id BAA05992; Thu, 1 Mar 2001 01:31:47 +0900 (JST)
Received: from plum.ssr.bisd.hitachi.co.jp
	by bisdgw.bisd.hitachi.co.jp (8.9.3+3.2W/3.7W-bisdgw) with ESMTP id BAA21331
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 1 Mar 2001 01:31:46 +0900 (JST)
	(envelope-from ume@bisd.hitachi.co.jp)
Received: from localhost (IDENT:dEJR9MEmljABaZrHHXUe3Mhh5bpvQx6e+AJrjs7xQy/fVIRMybXhtjzDM9qUe8IL@localhost [::1])
	by plum.ssr.bisd.hitachi.co.jp (8.11.1/8.11.1/plum) with ESMTP/inet6 id f1SGVkK10717
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 1 Mar 2001 01:31:46 +0900 (JST)
	(envelope-from ume@bisd.hitachi.co.jp)
Date: Thu, 01 Mar 2001 01:31:45 +0900 (JST)
Message-Id: <20010301.013145.74746264.ume@bisd.hitachi.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
From: Hajimu UMEMOTO <ume@bisd.hitachi.co.jp>
In-Reply-To: <20010228.193737.104038358.ume@bisd.hitachi.co.jp>
References: <20010228.182346.41639466.ume@bisd.hitachi.co.jp>
	<20010228191504X.eakasaka@rodfbs.org>
	<20010228.193737.104038358.ume@bisd.hitachi.co.jp>
X-Mailer: Mew version 1.95b96 on Emacs 20.7 / Mule 4.1
 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?=
X-PGP-Fingerprint: D3 3D D3 54 88 13 DE 22  3F 31 C4 4D A1 08 84 7B
X-PGP-Public-Key: http://www.imasy.org/~ume/ume@bisd.hitachi.co.jp.asc
X-URL: http://www.imasy.org/~ume/
X-OS: FreeBSD 4.2-RELEASE
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 59370
Subject: [FreeBSD-users-jp 59370] Re: ftp =?ISO-2022-JP?B?GyRCJEsbKEI=?=
 =?ISO-2022-JP?B?GyRCO340ViQsJCskKyRrGyhC?= 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: ume@bisd.hitachi.co.jp

  $BG_K\!wF|N)$G$9!#(B

>>>>> On Wed, 28 Feb 2001 19:37:37 +0900 (JST),
>>>>> ume@bisd.hitachi.co.jp ($B$&$a(B) said:

$B$&$a(B>   $B<B$O;d$,:#5?$C$F$$$k$N$O(B src/sys/netinet/in_pcb.c $B$K(B MFC $B$5$l$?(B

  $B$^$@<j85$G:F8=$G$-$F$J$$$N$G!"3NG'$G$-$F$J$$$N$G$9$,!"@hDx=$@5$,(B 
commit $B$5$l$?$h$&$G$9!#(B

    http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/net/res_send.c.diff?r1=1.31.2.5&r2=1.31.2.6

Subject: DNS & kqread (kq in general)
From: Jonathan Lemon <jlemon@flugsvamp.com>
To: stable@freebsd.org, current@freebsd.org
Date: Wed, 28 Feb 2001 09:54:39 -0600

I"ve committed a fix for the problem where DNS hangs or takes 
a long time to resolve (the process gets stuck in kqread).

In the last kqueue update, I added a new filter-specific flag to
the read/write filters, which allows the filter to specify its
own read/write watermarks.  However, since this flag was previously
unused, if you do not initialize the structure to zero, you may
get unexpected results.

To that end, I'd encourage kqueue users to review their code and
make sure that the structure is completely initialized.  A new 
a new convenience macro EV_SET() was also added to <sys/event.h>
which should also assist this process.

  $B$4$a$s$h$&5?$C$F!#(B> phk

--
$BG_K\(B $BH%!w!J3t!KF|N)@=:n=j(B $B%S%8%M%9%=%j%e!<%7%g%s;v6HIt(B
E-Mail: ume@bisd.hitachi.co.jp ume@mahoroba.org ume@{,jp.}FreeBSD.org
URL: http://www.imasy.org/~ume/
