Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: yamt-readahead-base3
Revision 1.143 / (download) - annotate - [selected], Tue Nov 15 18:39:46 2005 UTC (12 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-readahead-base3,
yamt-readahead-base2
Changes since 1.142: +4 -4
lines
Diff to previous 1.142 (colored)
Pass the current process structure to in_pcbconnect() so that it can pass it to in_pcbbind() so that can allocate a low numbered port if setsockopt() has been used to set IP_PORTRANGE to IP_PORTRANGE_LOW. While there, fail in_pcbconnect() if the in_pcbbind() fails - rather than sending the request out from a port of zero. This has been largely broken since the socket option was added in 1998.