]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Thu, 17 Dec 2009 06:48:11 +0000 (22:48 -0800)
commitb1221143e4327b567983e2a731a40814698ec783
treedef8faebac44b497a283aef19e46a81e7868c0a4
parentffe20fe514c54260c2826b2d420946dadabb209c
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>
(cherry picked from commit 3898524693e7297e228ded03f34125558f225d58)
Change-Id: I45c3d1a773150ada018a4867139273053f989f57
Reviewed-on: http://gerrit.openafs.org/959
src/rx/DARWIN/rx_knet.c