]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: fix rebind() race 1016/head
authorXihui He <xihuihe@gmail.com>
Mon, 30 Dec 2013 04:04:10 +0000 (12:04 +0800)
committerXihui He <xihuihe@gmail.com>
Tue, 31 Dec 2013 02:57:57 +0000 (10:57 +0800)
commitf8e413f9c79a3a2a12801f5f64a2f612de3f06a0
tree960614b126bbb78d1ddb8c350cbfc283d5f5ead3
parentf881157e37165dd48353d49f7a1fb483d5a4af91
msgr: fix rebind() race
stop the accepter and mark all pipes down before rebind to avoid race

Fixes: #6992
Signed-off-by: Xihui He xihuihe@gmail.com
src/msg/Accepter.cc
src/msg/SimpleMessenger.cc