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:
parent
dc3c09c89f
commit
7e1bc2729c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184097
@ -458,8 +458,9 @@ in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp,
|
|||||||
if (pcbinfo != &V_udbinfo)
|
if (pcbinfo != &V_udbinfo)
|
||||||
V_ipport_tcpallocs++;
|
V_ipport_tcpallocs++;
|
||||||
/*
|
/*
|
||||||
* Simple check to ensure all ports are not used up causing
|
* Instead of having two loops further down counting up or down
|
||||||
* a deadlock here.
|
* make sure that first is always <= last and go with only one
|
||||||
|
* code path implementing all logic.
|
||||||
*/
|
*/
|
||||||
if (first > last) {
|
if (first > last) {
|
||||||
aux = first;
|
aux = first;
|
||||||
|
Loading…
Reference in New Issue
Block a user