https://github.com/torvalds/linux
Revision a59b55a602b6c741052d79c1e3643f8440cddd27 authored by Sage Weil on 20 July 2012, 22:34:04 UTC, committed by Sage Weil on 31 July 2012, 01:15:57 UTC
Take the con mutex before checking whether the connection is closed to
avoid racing with someone else closing it.

Signed-off-by: Sage Weil <sage@inktank.com>
1 parent 0065093
History
Tip revision: a59b55a602b6c741052d79c1e3643f8440cddd27 authored by Sage Weil on 20 July 2012, 22:34:04 UTC
libceph: move ceph_con_send() closed check under the con mutex
Tip revision: a59b55a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 207.3 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top