Skip to content
Commit 3596f4c1 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent 90b6561a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment