drbd: upgrade 9.3.2 -> 9.3.3

This release includes all fixes from 9.2.19 (silent data divergence
and corruption fixes for diskless primaries, false split-brain fix,
list corruption/AB-BA deadlock/use-after-free fixes during connection
teardown, RDMA transport bug fixes) plus new lb-tcp path add/remove
support and a TLS connection page-reference leak fix.

Drop check_existence_of_modules_before_installing.patch: it no longer
applies (confirmed it already fails to apply against the unmodified
9.3.2 source too, since SKIP_RECIPE normally prevents do_patch from
ever running for this recipe). The install-time "module not built"
problem it guarded against is now handled by upstream's own rewritten
drbd/Makefile install logic: the KDIR path now delegates to kbuild's
own modules_install target, and the non-KDIR fallback only globs
*.ko files that actually exist via find | cpio. Neither path can hit
the old "install: cannot stat" failure the patch was working around.

Verified do_fetch/do_unpack/do_patch succeed cleanly with the new
tarball and without the patch (SKIP_RECIPE temporarily lifted for
testing). do_compile still requires coccinelle/spatch or network
access to spaas.drbd.io, neither available in this sandbox, matching
the existing SKIP_RECIPE annotation - not a regression.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-06 10:26:10 +00:00
parent 4304a6dd50
commit 87caecc41f
2 changed files with 1 additions and 26 deletions
@@ -1,24 +0,0 @@
If CONFIG_BLK_DEV_DRBD kernel config is enabled, then DRBD
does not build drbd.ko here. Under this circumstance do_install
task is going to fail with a below error:
-- snip --
| install: cannot stat drbd.ko: No such file or directory
| make[1]: *** [install] Error 1
-- snip --
So, check for kernel module existence before installing.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
--- drbd-9.0.1-1/drbd/Makefile 2016-07-03 06:54:19.421538690 -0700
+++ drbd-9.0.1-1/drbd/Makefile_mod 2016-07-03 06:53:18.938801628 -0700
@@ -158,7 +158,7 @@ else
fi
install -d $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
set -e ; for ko in $(MODOBJS); do \
- install -m 644 $$ko $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR); \
+ [ -e $$ko ] && install -m 644 $$ko $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR); \
done
ifeq ($(DESTDIR),/)
ifeq ($(shell uname -r),$(KERNELRELEASE))
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
DEPENDS = "virtual/kernel"
SRC_URI = "https://pkg.linbit.com//downloads/drbd/9/${BP}.tar.gz \
file://check_existence_of_modules_before_installing.patch \
"
SRC_URI[sha256sum] = "5ad57634d4b6c118e92080ab5b66e01969ebb251d9ca01562d23598bf3b166fe"
SRC_URI[sha256sum] = "a7bfb016070c31df1c738569ca8cc5e5fc337dd449147f7bf62e746d87d38f21"
inherit module