[Drbd-dev] [GIT PULL] DRBD fixes for Linux 5.18

Christoph Böhmwalder christoph.boehmwalder at linbit.com
Wed Apr 6 10:06:56 CEST 2022


Hi Jens,

this is the first batch of DRBD updates, catching up from the last few years.
These fixes are a bit more substantial, so it would be great if they could still
go into 5.18.

Please pull.


The following changes since commit ff0f3f83175274daf2eb4fd4db6430ab71c66e80:

  Merge branch 'for-5.19/io_uring-xattr' into for-next (2022-04-04 17:59:51 -0600)

are available in the Git repository at:

  https://github.com/LINBIT/linux-drbd.git tags/drbd-fixes-5.18-2022-04-06

for you to fetch changes up to 0ab5e2117763190f684fdedb6f171abd4b939f1b:

  drbd: set QUEUE_FLAG_STABLE_WRITES (2022-04-06 09:16:13 +0200)

----------------------------------------------------------------
DRBD fixes for Linux 5.18

- enable stable writes for DRBD (Christoph Böhmwalder)
- fix a potential invalid memory access (Xiaomeng Tong)
- fix a use-after-free bug (Lv Yunlong)

----------------------------------------------------------------
Christoph Böhmwalder (1):
      drbd: set QUEUE_FLAG_STABLE_WRITES

Lv Yunlong (1):
      drbd: Fix five use after free bugs in get_initial_state

Xiaomeng Tong (1):
      drbd: fix an invalid memory access caused by incorrect use of list iterator

 drivers/block/drbd/drbd_int.h          |  8 ++++----
 drivers/block/drbd/drbd_main.c         |  7 +++----
 drivers/block/drbd/drbd_nl.c           | 41 +++++++++++++++++++++++++----------------
 drivers/block/drbd/drbd_state.c        | 18 +++++++++---------
 drivers/block/drbd/drbd_state_change.h |  8 ++++----
 5 files changed, 45 insertions(+), 37 deletions(-)


More information about the drbd-dev mailing list