libceph: split protocol reset bits out of reset_connection()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 6 Nov 2020 16:07:07 +0000 (17:07 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:48 +0000 (23:21 +0100)
commit3596f4c1241d3c9b6a7cb03b7209c1897c3a5390
tree57126074089c8729c05169a68827461b2f6bcd55
parent90b6561a0525d0888d5d705e343bacaaacd3c021
libceph: split protocol reset bits out of reset_connection()

Move protocol reset bits into ceph_con_reset_protocol(), leaving
just session reset bits.

Note that con->out_skip is now reset on faults.  This fixes a crash
in the case of a stateful session getting a fault while in the middle
of revoking a message.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c