Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 05/28/2000 17:03:20
Module Name:	syssrc
Committed By:	itojun
Date:		Mon May 29 00:03:19 UTC 2000

Modified Files:
	syssrc/sys/netinet6: in6_pcb.c raw_ip6.c

Log Message:
disallow bind(2) with IPv4 mapped address for now.  port number check is
insufficient at this moment and we can bind(2) two sockets listen on same
port number.

for real fix, we need to check inpcb table with in6pcb.  we can't
find inpcb chain from particular in6pcb chain (like finding tcbtable from tcb6)
luckily RFC2553 does not talk about bind(2) behavior for IPv4 mapped.
IPv4 mapped brings in too much complexities...


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 syssrc/sys/netinet6/in6_pcb.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/netinet6/raw_ip6.c

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