ceph: plug leak of incoming message during connection fault/close
authorSage Weil <sage@newdream.net>
Fri, 11 Dec 2009 17:48:05 +0000 (09:48 -0800)
committerSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 00:39:53 +0000 (16:39 -0800)
commitcf3e5c409b5d66ec66207092a3f7e3e2c42c0f3f
tree132e0095756777f4716f59e6c05ac85b80e830fd
parent9ec7cab14e6de732d4e7c355fe67c5810c32c758
ceph: plug leak of incoming message during connection fault/close

If we explicitly close a connection, or there is a socket error, we need
to drop any partially received message.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c