Do not recurse on the glock in rxk_NewSocketHost
authorBen Kaduk <kaduk@mit.edu>
Sun, 4 Jul 2010 02:58:39 +0000 (22:58 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 4 Jul 2010 05:11:38 +0000 (22:11 -0700)
commitbf8746dc43567a0a8f1d4075402eb9d2f741ec04
treea29a2d7a18fa3adc14a3ca334032852ba78e24b9
parentb54c7ceefe884b57db76c929940afdfee86472e8
Do not recurse on the glock in rxk_NewSocketHost

If sobind() failed, we would lock the glock before going to bad,
which proceeded to lock the glock, panic()ing on the recursion attempt.
Remove the unneeded first call.

Change-Id: Ifa793735ebe64bde98156caa610c06612bdb92bd
Reviewed-on: http://gerrit.openafs.org/2330
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx_kcommon.c