From: Lars Ellenberg Date: Wed, 1 Sep 2010 07:50:23 +0000 (+0200) Subject: drbd: fix race between deconfiguring and reconfiguring network X-Git-Tag: v2.6.37-rc1~167^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c518d04fdec3d8b9d6f8b2228040934de9ee6708;p=pandora-kernel.git drbd: fix race between deconfiguring and reconfiguring network If a drbd_nl_net_conf hits the small window between the state change to C_STANDALONE and the corresponding cleanup in after_state_ch, that cleanup would throw away stuff we now need again, and later trigger BUG_ON()s. Fixed by properly serializing the new config request with any pending cleanup. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed