diff options
| author | 2012-08-04 01:07:55 +0200 | |
|---|---|---|
| committer | 2012-11-09 14:05:47 +0100 | |
| commit | e959d08d3ef6e48bc3b726bcc07a4ebb9989be94 (patch) | |
| tree | df3abd787e46ed66c1bdfe1a2be1f8b256c54988 /scripts | |
| parent | drbd: fix drbd wire compatibility for empty flushes (diff) | |
drbd: Fix a potential issue with the DISCARD_CONCURRENT flag
The DISCARD_CONCURRENT flag should be set on one node and cleared on the
other node.
As the code was before it was theoretical possible that a node accepts the
meta socket, but has to close it later on, and keeps the DISCARD_CONCURRENT
flag.
Correct this by moving the clear_bit(DISCARD_CONCURRENT) where the packet
gets sent.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
