https://github.com/torvalds/linux
Revision 46faeed4a61e220b99591e9773057160eb437cc8 authored by Alex Elder on 10 April 2013, 22:47:46 UTC, committed by Sage Weil on 17 April 2013, 18:39:09 UTC
It's possible that the reference to the object request dropped
inside the loop in rbd_img_request_submit() will be the last
one, in which case the content of the object pointer can't be
trusted.

Use a safe form of the object request list traversal to avoid
problems.

This resolves:
    http://tracker.ceph.com/issues/4705

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
1 parent 6e2a450
History
Tip revision: 46faeed4a61e220b99591e9773057160eb437cc8 authored by Alex Elder on 10 April 2013, 22:47:46 UTC
rbd: do a safe list traversal in rbd_img_request_submit()
Tip revision: 46faeed
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-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 234.0 KB
Makefile -rw-r--r-- 46.9 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top