summaryrefslogtreecommitdiff
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-05 19:15:14 (GMT)
committerSage Weil <sage@newdream.net>2010-07-05 19:16:23 (GMT)
commited98adad3d87594c55347824e85137d1829c9e70 (patch)
treeb22414183f7eff1ac1ba606a3ebf2357f0876b4c /mm/maccess.c
parent153a10939ea6e42e9c0115b0645060d0d7bb4697 (diff)
downloadlinux-ed98adad3d87594c55347824e85137d1829c9e70.tar.xz
ceph: fix message revocation
A message can be on a queue (pending or sent), or out_msg (sending), or both. We were assuming that if it's not on a queue it couldn't be out_msg, but that was false in the case of lossy connections like the OSD. Fix ceph_con_revoke() to treat these cases independently. Also, fix the out_kvec_is_message check to only trigger if we are currently sending _this_ message. This fixes a GPF in tcp_sendpage, triggered by OSD restarts. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions