Date: Sat, 3 Jul 2004 17:53:33 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: Andre Oppermann <andre@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: kern/38554: changing interface ipaddress doesn't seem to work Message-ID: <Pine.NEB.3.96L.1040703174628.24282E-100000@fledge.watson.org> In-Reply-To: <40E66FB2.AE0FA833@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Jul 2004, Andre Oppermann wrote: > Bruce M Simpson wrote: > > > > Please review the attached patch (which is a reworking of Archie's > > patch for -CURRENT). When the underlying IP address is changed, > > wildcard-bound UDP sockets which are temporarily bound locally for > > UDP socket which are not bound to a particular IP address would do the > right thing already? I thought so. Temporarily connecting sockets/pcbs during a datagram send with an explicit address (i.e., sendto()) occurs in both the UDP code and UNIX domain socket code. Since this is expensive, and also increases the potential for races of various sorts, it would be nice to do this in a more efficient form where possible. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040703174628.24282E-100000>