1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Update a comment which to my reading had been misplaced in rev. 1.12

already (but probably had been way above as the code was there twice)
and describe what was last changed in rev. 1.199 there (which now is
in sync with in6_src.c r184096).

Pointed at by:	mlaier
MFC after:	2 mmonths
This commit is contained in:
Bjoern A. Zeeb 2008-10-20 18:56:00 +00:00
parent dc3c09c89f
commit 7e1bc2729c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184097

View File

@ -458,8 +458,9 @@ in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp,
if (pcbinfo != &V_udbinfo)
V_ipport_tcpallocs++;
/*
* Simple check to ensure all ports are not used up causing
* a deadlock here.
* Instead of having two loops further down counting up or down
* make sure that first is always <= last and go with only one
* code path implementing all logic.
*/
if (first > last) {
aux = first;