]> 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 17:32:18 +0000 (18:32 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:12 +0000 (16:58 +0100)
commit6ab9b1b60b1854bf5fe68ecd51cb9550c67801ec
treec2fd2288f66aa8b6c27cad33535192c6435b895f
parentb8853dbd8c6410d1faef2785e8ee4c990b068a77
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_state.c