diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-09-01 03:50:23 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 12:38:27 -0400 |
commit | c518d04fdec3d8b9d6f8b2228040934de9ee6708 (patch) | |
tree | 8d749aa26634287fe59fba8fe181b0f43f36af1a /tools | |
parent | 0778286a133d2d3f81861a4e5db308e359583006 (diff) |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions