From owner-freebsd-current Fri Jun 21 11:59:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from prism.flugsvamp.com (66-191-112-47.mad.wi.charter.com [66.191.112.47]) by hub.freebsd.org (Postfix) with ESMTP id B3F9037B40F; Fri, 21 Jun 2002 11:59:49 -0700 (PDT) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.6/8.11.6) id g5LIxUf55148; Fri, 21 Jun 2002 13:59:30 -0500 (CDT) (envelope-from jlemon) Date: Fri, 21 Jun 2002 13:59:30 -0500 (CDT) From: Jonathan Lemon Message-Id: <200206211859.g5LIxUf55148@prism.flugsvamp.com> To: mux@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: fix for a bug that causes a panic in the udp_pcblist() sysctl X-Newsgroups: local.mail.freebsd-current In-Reply-To: References: Organization: Cc: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article you write: >Jeffrey Hsu wrote: >> Can you try this fix instead? It's based on a similar patch Jonathan Lemon >> sent to me for a similar spot in tcp_subr.c. > >Well yes, this works too, since it produces the same code as with my >fix. But yours is more beautiful. :-) Beautiful code is almost as important as correct code, from a maintenance standpoint. :-) -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message