Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1651802rwp; Thu, 13 Jul 2023 14:24:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHaeH4EUe7BLp7zN4dLGDiGlRPXbP49O/8jTVaBc8QS6ihPF1AE2eyUxLpO3oEKdHV6X8aJ X-Received: by 2002:a05:6a20:1612:b0:12f:1d09:f1c3 with SMTP id l18-20020a056a20161200b0012f1d09f1c3mr2462771pzj.54.1689283466784; Thu, 13 Jul 2023 14:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689283466; cv=none; d=google.com; s=arc-20160816; b=LQ9BNOOWq+jM+P1xkVYfO7Lt5C2i/nGPxjGKfbhg2t+4UNOLtXExukGPxDHJ7nXcL/ DIo8UpJTB4MJ343HmzzUHHpqou9is6ghCmTT6uvW2hcnlCm9L0aqlsokK+KrHBVJpqV8 kzIY2CGh9vLaBdF4CXdtzRDZK85Wy8rqX5FkQGzFpjtx5TUbfOIY+wdGn76TOZJy+3XS KSltfgU991zXerlnAUfv38qRI4KlczyYcxM27h5wuaVknmM5MgKvUv+nMvQU0IZHsYSJ OvHEESLXQDFZNj7/Jfaa9S91cb3ull5SdvRNir/ltjh+mebGw2rZTIXtx33sEupWNNzA LZsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=M1Q3QVXuA3e+9GjXcm3jtTXFaZS47K/0EuW+3XlNfNc=; fh=gyBnXhwLsxxUsXlkQVPIn+qFLtnfeAQaGf4PQ/C4xhQ=; b=Y7O1fctUF+YTa5nHB2X4tMSFtCrD9nNRFZeyI/SJFqwdjOFqYi+7RFy+3N3ryGKOWT B78dl25Kx3m4htFJaVAUMq6ZmbGoyPfRP9lTUnjJextFSEfvq7Q8xyaXZryXpN45EutW 8Mnm6Ea3EkFvOdVZCUdeujPfhdeV7tIdUUWaS+ayXhPyy0W4TieK/luYG5PsNgL0IB93 RuFvxa8FZkh8lgeJTK6wEzRw7wPFKNRtZlU06j6zu9Khy1iSkuS7V3f8bEBZZhQDC9rI XNZZXtMGzhiouyGTNEJlS0CvR0he4hqepMsAduZffU0svnYVvVjWVZKMo7G5ds1+ynjs Z+qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=Su8Wda2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a654781000000b0054ffc2d9fc3si5742111pgs.38.2023.07.13.14.24.14; Thu, 13 Jul 2023 14:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=Su8Wda2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234074AbjGMUiE (ORCPT + 99 others); Thu, 13 Jul 2023 16:38:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbjGMUiC (ORCPT ); Thu, 13 Jul 2023 16:38:02 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0261E273E for ; Thu, 13 Jul 2023 13:38:01 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1b89b0c73d7so1495175ad.1 for ; Thu, 13 Jul 2023 13:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1689280680; x=1689885480; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M1Q3QVXuA3e+9GjXcm3jtTXFaZS47K/0EuW+3XlNfNc=; b=Su8Wda2t8a9fyq+mKQcL/x7F/nORxih5QNN3QcI8gU6tafMcFTpXJ/JwTC+hoKIAet UZMsZJb96148P+d+aPws2YjRiYEf/edVpyjk4+wpEJ9M1XzqIucAg9yImocZFmYK9wJK xaE29kKpjDeCOxxq0rQ+6whCvhArs3pZ84vH3p/ZLNWFeACVq7oihBFPE5g9PWRpVt62 m/+T4BW1NQTA7qrHOcSd4KuKrl9Spcm6bLiz8E7RZ/f+rVQrLrv9scU9gZNQlE9kebGZ 0RGTY3HPcbhwteIksfVKa0OxCoVWRm5KTkbDlcno5Uv52JGfmdZij+dF0jwVK882tSpc Hovw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689280680; x=1689885480; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M1Q3QVXuA3e+9GjXcm3jtTXFaZS47K/0EuW+3XlNfNc=; b=IeGs6VpaTs4lpTsvSluZpf6DA1sZ4BKLEZcR24JhAC2O6xaL5Kvx0WWvPaRDvNdXJN S92i09C2l5jMcMhmCHEM7MM7cG4AP2sVSCjAvhblDQtLEUAyX+TtDEviDHuCIDhmL2VD LJsM4uz7EUtvBn+z7ut7VRHPNGaX/YeZq7ciM+RH4w2sbFFDbw3Jx6PbRlm4Ru9TdnlU SMs5lB5p9+ou38aKKLuBxzOmHbOfonKcuvsW6NBKhqeAEzz9iRC/SJUxkE/PfvQ7q7cq R5PrYrDrM27mH7Qmnb0ok0wmFPOoPmex+Qj4E6nmYcL6bM+hn8YsY355nl7cc/MmzVCO ROSA== X-Gm-Message-State: ABy/qLboaCD9p36MRVPOkonCUPj7r9fU1FePUqG1FHZOd4neHaw58/Oa 2LmNzuNqbks7LWoBZh2y/kZwOw== X-Received: by 2002:a17:902:e549:b0:1b8:a8e5:e8bc with SMTP id n9-20020a170902e54900b001b8a8e5e8bcmr3342583plf.6.1689280680481; Thu, 13 Jul 2023 13:38:00 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id s10-20020a170902988a00b001b89045ff03sm6258074plp.233.2023.07.13.13.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 13:37:59 -0700 (PDT) From: Jens Axboe To: Josef Bacik , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Cc: linux-block@vger.kernel.org, nbd@other.debian.org, linux-kernel@vger.kernel.org, Christoph Hellwig In-Reply-To: <20230713-b4-nbd-genl-v3-1-226cbddba04b@weissschuh.net> References: <20230713-b4-nbd-genl-v3-1-226cbddba04b@weissschuh.net> Subject: Re: [PATCH v3] nbd: automatically load module on genl access Message-Id: <168928067935.580122.1235240259614744275.b4-ty@kernel.dk> Date: Thu, 13 Jul 2023 14:37:59 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13-dev-099c9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Jul 2023 21:29:35 +0200, Thomas Weißschuh wrote: > Add a module alias to nbd.ko that allows the generic netlink core to > automatically load the module when netlink messages for nbd are > received. > > This frees the user from manually having to load the module before using > nbd functionality via netlink. > If the system policy allows it this can even be used to load the nbd > module from containers which would otherwise not have access to the > necessary module files to do a normal "modprobe nbd". > > [...] Applied, thanks! [1/1] nbd: automatically load module on genl access commit: 82e37f43c37845b69955a0dfa5e0d1a2a830bdb7 Best regards, -- Jens Axboe