kern/38554: changing interface ipaddress doesn't seem to work
Andre Oppermann
andre at freebsd.org
Sat Jul 3 01:35:00 PDT 2004
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.
> a sendto() (by userland apps such as ntp, syslogd etc) will begin
> using the new IP address, whilst apps using TCP (ssh, Quagga bgpd) will
> error out with EADDRINUSE.
This error is misleading. The address is gone, not in use. Isn't there
a better fit?
> I would appreciate any feedback on our adopting this behaviour (which
> strikes me as similar to that of Solaris and a few other OSes).
I have only quickly glanced over it, but it sounds the right thing to
do.
--
Andre
More information about the freebsd-net
mailing list