From: "Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: drbd-dev@lists.linux.dev, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Philipp Reisner" <philipp.reisner@linbit.com>,
"Lars Ellenberg" <lars.ellenberg@linbit.com>,
"Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>,
"Chuck Lever" <cel@kernel.org>,
kernel-tls-handshake@lists.linux.dev,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Simon Horman" <horms@kernel.org>,
netdev@vger.kernel.org
Subject: [PATCH v4 06/21] net/handshake: allow the DRBD TCP transport to enable NET_HANDSHAKE
Date: Wed, 25 Nov 2026 16:34:56 +0100 [thread overview]
Message-ID: <20261125153511.3060599-7-christoph.boehmwalder@linbit.com> (raw)
In-Reply-To: <20261125153511.3060599-1-christoph.boehmwalder@linbit.com>
NET_HANDSHAKE is available only to the subsystems it lists: the SUNRPC
client and the NVMe/TCP host and target. The DRBD TCP transport uses
the handshake API for TLS-encrypted replication in the same way as
NVMe/TCP: its BLK_DEV_DRBD_TCP_TLS option selects NET_HANDSHAKE.
Add BLK_DEV_DRBD_TCP to the list, as NVME_TCP is there for
NVME_TCP_TLS. Otherwise that select would enable NET_HANDSHAKE with
an unmet dependency.
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
---
net/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/Kconfig b/net/Kconfig
index 76ab44aa439a..db53f7474b7f 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -92,7 +92,7 @@ source "net/xdp/Kconfig"
config NET_HANDSHAKE
bool
- depends on SUNRPC || NVME_TARGET_TCP || NVME_TCP
+ depends on SUNRPC || NVME_TARGET_TCP || NVME_TCP || BLK_DEV_DRBD_TCP
default y
config NET_HANDSHAKE_KUNIT_TEST
--
2.56.0
next prev parent reply other threads:[~2026-11-25 15:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 15:34 [PATCH v4 00/21] drbd: DRBD 9 rework Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 01/21] drbd: mark as BROKEN during " Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 02/21] drbd: extend wire protocol definitions for DRBD 9 Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 03/21] drbd: introduce DRBD 9 on-disk metadata format Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 04/21] drbd: add transport layer abstraction Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 05/21] drbd: add TCP transport implementation Christoph Böhmwalder
2026-11-25 15:34 ` Christoph Böhmwalder [this message]
2026-11-25 15:34 ` [PATCH v4 07/21] drbd: add DAX/PMEM support for metadata access Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 08/21] drbd: add optional compatibility layer for DRBD 8.4 Christoph Böhmwalder
2026-11-25 15:34 ` [PATCH v4 09/21] drbd: add application/resync IO synchronization documentation Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 10/21] drbd: rework sender for DRBD 9 multi-peer Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 11/21] drbd: replace per-device state model with multi-peer data structures Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 12/21] drbd: rewrite state machine for DRBD 9 multi-peer clusters Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 13/21] drbd: rework activity log and bitmap for multi-peer replication Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 14/21] drbd: rework request processing for DRBD 9 multi-peer IO Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 15/21] drbd: rework module core for DRBD 9 transport and multi-peer Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 16/21] drbd: rework receiver for DRBD 9 transport and multi-peer protocol Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 17/21] drbd: rework the netlink core for DRBD 9 Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 18/21] drbd: serve the "drbd" genl family at version 1 for existing userspace Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 19/21] drbd: add the "drbd2" genl family Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 20/21] drbd: update monitoring interfaces for multi-peer topology Christoph Böhmwalder
2026-11-25 15:35 ` [PATCH v4 21/21] drbd: remove BROKEN for DRBD Christoph Böhmwalder
2026-11-25 20:23 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125153511.3060599-7-christoph.boehmwalder@linbit.com \
--to=christoph.boehmwalder@linbit.com \
--cc=axboe@kernel.dk \
--cc=cel@kernel.org \
--cc=davem@davemloft.net \
--cc=drbd-dev@lists.linux.dev \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kernel-tls-handshake@lists.linux.dev \
--cc=kuba@kernel.org \
--cc=lars.ellenberg@linbit.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=philipp.reisner@linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®