summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-10-08 16:55:47 -0700
committerSage Weil <sage@newdream.net>2009-10-09 11:58:03 -0700
commitc1ea8823be69ebebaface912142190e910711984 (patch)
treed834392aebd65a1d538e23b54b63172ca427f29c /net/unix/af_unix.c
parent0656d11ba6ffa3dee0e8916a1903f96185651217 (diff)
downloadblackbird-op-linux-c1ea8823be69ebebaface912142190e910711984.tar.gz
blackbird-op-linux-c1ea8823be69ebebaface912142190e910711984.zip
ceph: fix osd request submission race
The osd request submission path registers the request, drops and retakes the request_mutex, then sends it to the OSD. A racing kick_requests could sent it during that interval, causing the same msg to be sent twice and BUGing in the msgr. Fix by only sending the message if it hasn't been touched by other threads. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud