Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp898208pxb; Thu, 21 Oct 2021 11:34:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUnojty/tLNfSjXnb675/5V+MGXv18QJOjNsHTPQHEprPkDuHoqPFbrNX0LhJzERHK+mGz X-Received: by 2002:a17:90b:4f8a:: with SMTP id qe10mr8450398pjb.27.1634841299579; Thu, 21 Oct 2021 11:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634841299; cv=none; d=google.com; s=arc-20160816; b=Ko30xdDCfW0GUloOSrWNLcq6QM6PHQA5S8iSUQaz+JWmm9ZM8FVxE3b1YxDUWLsWfU yDN5Va+PIS0TKvTiKEymkHNek3cPDi80/jC8QNVxhioCXSUxXSOVlnkvpO2jaebbFRXM NMEpeaT40X9VL+h0XMk5rsQLg6Dshnl2t/xk00h+rypE0DFgT+SAiW8ws/ivzUiFYcm+ ADvK4mu2S9u4HVg7a0lxfOHlHbFiFsGBwjzOC3spOCi6HiyqekBYz4V4Djfmjyh2iyx0 P9C76Pa1i0JN9S9t+ptq3isHOUWt37AmDT593WGkJoBYK1fmnRumPm+7VJqfnidzuNTA Y8Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=hHNyY0FMGGd4LhfLAwsZVNhoJ8DkVsK7zUJbpB4cSPo=; b=pnKp/jeaL09UvaIfV5m6PGJxKqJ8LFR8qiRUQy0fmhNMieXN0ZeYpKVhsTTG5mwxfe YhZ7l3ojT/dm+Lm1T5M8bUUtvSjuGJpWuG96xGDQ9z/3Bgha6ZzP5EHvtJgoMLuhriw2 WZY5NKu9U8GXhk6xPSM96y/fmBju9q7s3AP7It835MU0h3cKC1dAmElCmj4qrw5pSzjX JDPopBOfzWx/ipKz9+Oqdf3IBdB7QUNb/Wp9lsY1LQ+xcpdEQ0zxFrT7EteDQBHYSope M3gfesHZTB3VsuKsPIhCOwDpx/Iix3R4NXuZ0w+5lMN0Ew/hAf4mZVKlWuvsbdEVs3Vh VRsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l191si7276219pge.137.2021.10.21.11.34.36; Thu, 21 Oct 2021 11:34:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231826AbhJUSfq (ORCPT + 99 others); Thu, 21 Oct 2021 14:35:46 -0400 Received: from ink.ssi.bg ([178.16.128.7]:54075 "EHLO ink.ssi.bg" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbhJUSfq (ORCPT ); Thu, 21 Oct 2021 14:35:46 -0400 X-Greylist: delayed 529 seconds by postgrey-1.27 at vger.kernel.org; Thu, 21 Oct 2021 14:35:45 EDT Received: from ja.ssi.bg (unknown [178.16.129.10]) by ink.ssi.bg (Postfix) with ESMTPS id 5CA113C09B8; Thu, 21 Oct 2021 21:24:37 +0300 (EEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by ja.ssi.bg (8.16.1/8.16.1) with ESMTP id 19LIOZ3h023797; Thu, 21 Oct 2021 21:24:35 +0300 Date: Thu, 21 Oct 2021 21:24:34 +0300 (EEST) From: Julian Anastasov To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= cc: Simon Horman , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipvs: autoload ipvs on genl access In-Reply-To: <20211021130255.4177-1-linux@weissschuh.net> Message-ID: References: <20211021130255.4177-1-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811672-1673610927-1634840677=:8245" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811672-1673610927-1634840677=:8245 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Hello, On Thu, 21 Oct 2021, Thomas Weißschuh wrote: > The kernel provides the functionality to automatically load modules > providing genl families. Use this to remove the need for users to > manually load the module. > > Signed-off-by: Thomas Weißschuh Looks good to me for -next tree, thanks! Acked-by: Julian Anastasov > --- > net/netfilter/ipvs/ip_vs_ctl.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c > index 29ec3ef63edc..0ff94c66641f 100644 > --- a/net/netfilter/ipvs/ip_vs_ctl.c > +++ b/net/netfilter/ipvs/ip_vs_ctl.c > @@ -48,6 +48,8 @@ > > #include > > +MODULE_ALIAS_GENL_FAMILY(IPVS_GENL_NAME); > + > /* semaphore for IPVS sockopts. And, [gs]etsockopt may sleep. */ > static DEFINE_MUTEX(__ip_vs_mutex); > > > base-commit: d9aaaf223297f6146d9d7f36caca927c92ab855a > -- > 2.33.1 Regards -- Julian Anastasov ---1463811672-1673610927-1634840677=:8245--