From owner-freebsd-current Thu Mar 1 8:15:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 2009937B71A; Thu, 1 Mar 2001 08:15:13 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id f21GF2u01213; Thu, 1 Mar 2001 17:15:03 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id f21GF2K10093; Thu, 1 Mar 2001 17:15:02 +0100 (MET) Received: (from localhost) by curry.mchp.siemens.de (8.11.2/8.11.2) id f21GF2S44087; Date: Thu, 1 Mar 2001 17:15:02 +0100 From: Andre Albsmeier To: Jonathan Lemon Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: DNS & kqread (kq in general) Message-ID: <20010301171502.A24094@curry.mchp.siemens.de> References: <20010228095439.P20550@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010228095439.P20550@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Wed, Feb 28, 2001 at 09:54:39AM -0600 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28-Feb-2001 at 09:54:39 -0600, Jonathan Lemon wrote: > 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 > which should also assist this process. I saw that you modified usr.bin/tail/forward.c as well. This fixes PR# 24223. Would you mind closing it? Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message