From owner-freebsd-net Mon Nov 5 16: 4:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 487E137B418 for ; Mon, 5 Nov 2001 16:04:08 -0800 (PST) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fA603vf83064; Mon, 5 Nov 2001 19:03:58 -0500 (EST) (envelope-from arr@FreeBSD.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Mon, 5 Nov 2001 19:03:57 -0500 (EST) From: "Andrew R. Reiter" X-Sender: arr@fledge.watson.org To: Garrett Wollman Cc: freebsd-net@FreeBSD.org, jdp@polstra.com Subject: Re: in_pcb patch -- force sin_zero & copy In-Reply-To: <200111052347.fA5NlM894010@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 5 Nov 2001, Garrett Wollman wrote: :There's no reason to do this. in_pcbbind() is ultimately called from :bind(2), which is already giving us a fresh copy. : mmm, good point. Then the fix should just be just to zero out the sin_zero field forcefully... jdp, any comments? Andrew -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message