Up to [cvs.NetBSD.org] / src / sys / netinet6
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5-base
Revision 1.23 / (download) - annotate - [select for diffs], Mon May 29 00:03:18 2000 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.22: +12 -2
lines
Diff to previous 1.22 (colored)
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...