Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 08/02/2000 18:03:05
Module Name:	syssrc
Committed By:	itojun
Date:		Wed Aug  2 15:03:04 UTC 2000

Modified Files:
	syssrc/sys/netinet: in.c
	syssrc/sys/netinet6: in6.c

Log Message:
inhibit error code from rtinit().  this happens when we try to assign
multiple addresses from same prefix, onto single interface.  PR 10427.

more info:
- 4.4BSD did not check return code from in_ifinit() at all.
  4.4BSD does not support multiple address from same prefix.
- past KAME change passed in{,6}_ifinit() to upwards, toward ifconfig(8).
  the behavior is filed as PR 10427.
- the commit inhibits EEXIST from rtinit(), hence partially recovers old
  4.4BSD behavior.
- the right thing to happen is to properly support multiple address assignment
  from the same prefix.  KAME tree has more extensive change, however, it needs
  much more time to get stabilized (rtentry refcnt change can cause serious
  issue, we really need to bake it before bring it to netbsd)


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 syssrc/sys/netinet/in.c
cvs rdiff -r1.33 -r1.34 syssrc/sys/netinet6/in6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.