Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 18:47:22 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "Andrew R. Reiter" <arr@FreeBSD.ORG>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   in_pcb patch -- force sin_zero & copy
Message-ID:  <200111052347.fA5NlM894010@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.NEB.3.96L.1011105173439.82126A-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1011105173439.82126A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 5 Nov 2001 17:38:52 -0500 (EST), "Andrew R. Reiter" <arr@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111052347.fA5NlM894010>