libceph: fix NULL dereference in reset_connection()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Jun 2012 13:52:33 +0000 (08:52 -0500)
committerAlex Elder <elder@inktank.com>
Tue, 19 Jun 2012 13:52:33 +0000 (08:52 -0500)
commit26ce171915f348abd1f41da1ed139d93750d987f
tree4f8766c8bbfc3a81089a60e9b7e1e9d0b9ef51eb
parent9a64e8e0ace51b309fdcff4b4754b3649250382a
libceph: fix NULL dereference in reset_connection()

We dereference "con->in_msg" on the line after it was set to NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alex Elder <elder@inktank.com>
net/ceph/messenger.c