]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: fix rebind() race
authorXihui He <xihuihe@gmail.com>
Mon, 30 Dec 2013 04:04:10 +0000 (12:04 +0800)
committerSage Weil <sage@inktank.com>
Mon, 7 Apr 2014 15:42:52 +0000 (08:42 -0700)
commitc45e15fd5cbe57a34c743b2835ecc30ee5a43963
tree514031f5bc35dfe980c60c6581e4289dddd8ce3c
parent3d31cf012a59e1fea8080b13bdc06c9021ba0656
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
(cherry picked from commit f8e413f9c79a3a2a12801f5f64a2f612de3f06a0)
src/msg/Accepter.cc
src/msg/SimpleMessenger.cc