From owner-freebsd-net Mon Nov 5 15:47:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 54F8737B405; Mon, 5 Nov 2001 15:47:23 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fA5NlM894010; Mon, 5 Nov 2001 18:47:22 -0500 (EST) (envelope-from wollman) Date: Mon, 5 Nov 2001 18:47:22 -0500 (EST) From: Garrett Wollman Message-Id: <200111052347.fA5NlM894010@khavrinen.lcs.mit.edu> To: "Andrew R. Reiter" Cc: freebsd-net@FreeBSD.ORG Subject: in_pcb patch -- force sin_zero & copy In-Reply-To: References: 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 < said: > This patch was "inspired by" pr 31704. It first copies the sockaddr > structure passed into us There's no reason to do this. in_pcbbind() is ultimately called from bind(2), which is already giving us a fresh copy. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message