From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 88B74162774 for ; Wed, 18 Mar 2026 22:16:37 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4853f2826f7so2522745e9.1 for ; Wed, 18 Mar 2026 14:16:37 -0700 (PDT) Message-ID: <6b696861-ac39-4a87-a2fa-ad47a75031c6@linbit.com> Date: Wed, 18 Mar 2026 22:16:34 +0100 MIME-Version: 1.0 Subject: Re: [PATCH 2/2] drbd: select CONFIG_NET_HANDSHAKE To: Arnd Bergmann , Philipp Reisner , Lars Ellenberg , Jens Axboe , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni References: <20260318104858.1868731-1-arnd@kernel.org> <20260318104858.1868731-2-arnd@kernel.org> From: =?UTF-8?Q?Christoph_B=C3=B6hmwalder?= Content-Language: en-US In-Reply-To: <20260318104858.1868731-2-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Arnd Bergmann , Eric Biggers , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Simon Horman , drbd-dev@lists.linbit.com List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 18.03.26 um 11:48 schrieb Arnd Bergmann: > From: Arnd Bergmann > > The TLS handshake code is optional and has to be enabled for DRBD: > > ERROR: modpost: "tls_handshake_cancel" [drivers/block/drbd/drbd_transport_tcp.ko] undefined! > ERROR: modpost: "tls_server_hello_x509" [drivers/block/drbd/drbd_transport_tcp.ko] undefined! > ERROR: modpost: "tls_client_hello_x509" [drivers/block/drbd/drbd_transport_tcp.ko] undefined! > ERROR: modpost: "tls_get_record_type" [drivers/block/drbd/drbd_transport_tcp.ko] undefined! > ERROR: modpost: "tls_alert_recv" [drivers/block/drbd/drbd_transport_tcp.ko] undefined! > > Select the option whenever DRBD is eanbled and rework the dependency in > the symbol so it can be selected more easily. > > Fixes: fa8ef6960ebd ("drbd: add TCP transport implementation") > Signed-off-by: Arnd Bergmann > --- > drivers/block/drbd/Kconfig | 1 + > net/Kconfig | 4 +--- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/block/drbd/Kconfig b/drivers/block/drbd/Kconfig > index 29ec6ed84251..de9e232d6479 100644 > --- a/drivers/block/drbd/Kconfig > +++ b/drivers/block/drbd/Kconfig > @@ -11,6 +11,7 @@ config BLK_DEV_DRBD > depends on PROC_FS && INET > select LRU_CACHE > select CRC32 > + select NET_HANDSHAKE > help > > NOTE: In order to authenticate connections you have to select > diff --git a/net/Kconfig b/net/Kconfig > index 62266eaf0e95..769880113740 100644 > --- a/net/Kconfig > +++ b/net/Kconfig > @@ -92,9 +92,7 @@ source "drivers/dibs/Kconfig" > source "net/xdp/Kconfig" > > config NET_HANDSHAKE > - bool > - depends on SUNRPC || NVME_TARGET_TCP || NVME_TCP > - default y > + def_bool SUNRPC || NVME_TARGET_TCP || NVME_TCP > > config NET_HANDSHAKE_KUNIT_TEST > tristate "KUnit tests for the handshake upcall mechanism" if !KUNIT_ALL_TESTS Thanks for the fix, I applied it to our drbd-next tree (which should end up in linux-next). I would prefer to squash these kinds of fixups to keep the history in our patch series clean. Arnd, does that work for you? How do you prefer we handle attribution? Unfortunately I couldn't really find a clear precedence pattern for this, how is this usually handled? -- Christoph Böhmwalder LINBIT | Keeping the Digital World Running DRBD HA — Disaster Recovery — Software defined Storage