]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Do not send state packets while lower than C_CONNECTED cstate
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 13 Dec 2011 09:31:32 +0000 (10:31 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 13:16:29 +0000 (15:16 +0200)
commit4afc433cf8066c112bd2bdd949d78ff8e8b4ba3f
tree2919bdbaf204cb54b489988d1af2101f8d320af4
parent545752d5d8a2e01b4fcb23a61ec732b2b26cbe1a
drbd: Do not send state packets while lower than C_CONNECTED cstate

I.e. in C_WF_REPORT_PARAMS or in C_WF_CONNECTION.
Sending may already work in these cstates, but the peer still expects
the HandShake / ConnectionFeatures packet.

Actually triggered by the Testuite on kugel.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c