linux/net/ceph
Sage Weil fbdb919048 libceph: fix null dereference when unregistering linger requests
We should only clear r_osd if we are neither registered as a linger or a
regular request.  We may unregister as a linger while still registered as
a regular request (e.g., in reset_osd).  Incorrectly clearing r_osd there
leads to a null pointer dereference in __send_request.

Also simplify the parallel check in __unregister_request() where we just
removed r_osd_item and know it's empty.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-03-29 12:11:06 -07:00
..
crush ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
armor.c libceph: Fix base64-decoding when input ends in newline. 2011-03-15 09:14:02 -07:00
auth.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x_protocol.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
buffer.c net: allow GFP_HIGHMEM in __vmalloc() 2010-11-21 10:04:04 -08:00
ceph_common.c ceph: flush msgr_wq during mds_client shutdown 2011-03-25 13:27:48 -07:00
ceph_fs.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_hash.c ceph: add dir_layout to inode 2011-01-12 15:15:12 -08:00
ceph_strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c rbd: introduce rados block device (rbd), based on libceph 2010-10-20 15:38:13 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
messenger.c libceph: fix msgr standby handling 2011-03-04 12:25:05 -08:00
mon_client.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
msgpool.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
osd_client.c libceph: fix null dereference when unregistering linger requests 2011-03-29 12:11:06 -07:00
osdmap.c ceph: Always free allocated memory in osdmap_decode() 2011-01-12 15:15:14 -08:00
pagelist.c ceph: fix num_pages_free accounting in pagelist 2010-10-20 15:38:23 -07:00
pagevec.c libceph: fix handling of short returns from get_user_pages 2011-03-03 13:47:39 -08:00