]> git.michaelhowe.org Git - packages/o/openafs.git/commit
darwin: don't process incoming packets during rx shutdown
authorDerrick Brashear <shadow@your-file-system.com>
Tue, 22 Jan 2013 20:00:29 +0000 (15:00 -0500)
committerRuss Allbery <rra@debian.org>
Mon, 8 Apr 2013 18:09:52 +0000 (11:09 -0700)
commit8e92d615b3b31e81f40ed2f10f66160772e05038
tree272d6e2f0dcc716920ceb6bde6365adce153dfa4
parent6b49184a2093639a4201503e3d5d26684e5ab50a
darwin: don't process incoming packets during rx shutdown

we have a chicken and egg problem because the kpi doesn't
let us kill the upcall before we close a socket. a more correct
fix (on master) uses atomics, but for 1.6 this is a minimally-invasive
fix, macos only and strictly better than before.

FIXES 131577

Change-Id: I6003679f709284ae28f51bf5de8deff873346819
Reviewed-on: http://gerrit.openafs.org/8937
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
src/rx/DARWIN/rx_knet.c
src/rx/rx.c