svn commit: r190441 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netinet

Bjoern A. Zeeb bz at
Thu Mar 26 06:27:27 PDT 2009

Author: bz
Date: Thu Mar 26 13:27:26 2009
New Revision: 190441

  MFC r184097:
    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(HEAD), r189956(stable/7)).
  Approved by:	re (rwatson)

  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/netinet/in_pcb.c
--- stable/7/sys/netinet/in_pcb.c	Thu Mar 26 13:22:29 2009	(r190440)
+++ stable/7/sys/netinet/in_pcb.c	Thu Mar 26 13:27:26 2009	(r190441)
@@ -440,8 +440,9 @@ in_pcbbind_setup(struct inpcb *inp, stru
 		if (pcbinfo != &udbinfo)
-		 * 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.
 		 * We split the two cases (up and down) so that the direction
 		 * is not being tested on each round of the loop.

More information about the svn-src-stable-7 mailing list