network - Fix issue with recent unix domain socket gc fixes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 23 Oct 2010 17:51:06 +0000 (10:51 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 16:36:51 +0000 (09:36 -0700)
commitaf244385356ffbab2fbbac5ab0343856d13b0bf7
tree226bc1e138e743d33c951b36a6005c70fa31e89c
parent5fe0f3a651685a127bb7332a351368a578a5fbdf
network - Fix issue with recent unix domain socket gc fixes

* The gc's tracking of the deferral count could get out of sync and wind
  up looping forever due to the (now necessary) tsleep between loops.

* Fix by recalculating the count on each loop.
sys/kern/uipc_usrreq.c