aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2012-08-03 15:14:04 +0200
committerJens Axboe <axboe@kernel.dk>2012-10-30 08:39:01 +0100
commitc12a3d8c84a5e9913a97ca5e6513c913a7e5b288 (patch)
tree4956ee000b9c2e0af1e58914fc997eabf8d3a14a /ipc/msgutil.c
parentdrbd: introduce stop-sector to online verify (diff)
downloadwireguard-linux-c12a3d8c84a5e9913a97ca5e6513c913a7e5b288.tar.xz
wireguard-linux-c12a3d8c84a5e9913a97ca5e6513c913a7e5b288.zip
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions