]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libceph: fix NULL dereference in reset_connection()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Jun 2012 13:52:33 +0000 (08:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:25 +0000 (11:38 -0800)
commit8124d55a2d2c8d738c6ac5b95e6171fe3d1b5af3
treea34dd9e393a2bd8ca5d0f98a4fdf91134a0651b3
parentfccbf066b35a05606cdb96eb574eaf310c422125
libceph: fix NULL dereference in reset_connection()

(cherry picked from commit 26ce171915f348abd1f41da1ed139d93750d987f)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c