darwin knet avoid rx socket during shutdown
authorDerrick Brashear <shadow@dementia.org>
Fri, 11 Sep 2009 05:59:08 +0000 (01:59 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Fri, 11 Sep 2009 15:05:28 +0000 (08:05 -0700)
commit3898524693e7297e228ded03f34125558f225d58
tree08f36ae5a110842b2f1ed937c6c8a280359d0605
parentcc7938e8ff2a56575122066a8750e881c4d280b0
darwin knet avoid rx socket during shutdown

theoretically a user thread can race us during shutdown and end up
panicing us if the soclose happens at the wrong time. if we're shutting down
just return. using afs_shuttingdown would have the side effect that we'd lose
the ability to add any graceful behavior.

Reviewed-on: http://gerrit.openafs.org/443
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/DARWIN/rx_knet.c