Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp992837rdf; Wed, 22 Nov 2023 02:41:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSLefGsVvcsIb3ZzP3ccF4CJwM31Cwi1jry7XSDQupSd1mHUlydYrSrO0em/xtBDs1NLZB X-Received: by 2002:a05:6a00:1399:b0:6c6:9c3b:f0ed with SMTP id t25-20020a056a00139900b006c69c3bf0edmr2057787pfg.7.1700649687643; Wed, 22 Nov 2023 02:41:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700649687; cv=none; d=google.com; s=arc-20160816; b=CCNONjnZ0rb3m00M4wQc00MMGIPbvXHU0e1R6ge3uKgUgV0TgxUDRPvNN85BPCn8TX khKzGNVK1tqAQq+2thJGtwDoUF29bfbRZ5fBSpb1j/L1Wveu9mnB2EJa+eilMHMhi7Cw OwypWHR6NPsWlP68AUlT/RhPJ2Hp8wb2FB8rGS27t93s+QvnbxWpnDjsd9gusBeJ1Pww 3k5hQhkVMGBcsQXBSqL8exdBTIuXHDd1j60zApFtRrkSagfYBa2LT6+cAlVIUu127p8B AY9RYpkd4qyJ5wJbYVJ/7edeZ+QehgIdgG5vmEnXXtEVqHoOT5gd6IVkqyCC/j7YuKBi t1kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6kSomUq3ZgKD9Dy04ZZVsli1peGLtP7gkcJ/caQ/Ogw=; fh=AsIdTNNP2jhHi9vlwHBfYx2WQG5CLQpsTutoFCY6+Iw=; b=rQX4JFlZh8ED97gVofbgymJKqNmJ4HHjB60EByQMIsCD6ARxr4E8i0fn7KUDQnXIkh 9wopP4kYpwaiXMcGFuK5xv7S4rzIkHn5nF62ryIzSk5YBX0RcnFsrqeGo92oAKggxBBx h5ht/aY/EROZEcvMSxQ3Hx3828JDtJ4t3DqlUKQB2ZJjc68pgPTkmn3rSy8Pxkf4NIgu Kpv57p34+HQRrnIeUxmT8UAP9ogcN2oi263jHALm86wBskYDwp4zQ9DF2c/miYTKFiB7 xx5ODhZ1mv3hLNnxbCF8PLsE+SVSuHlLeeNU/+JONKib4FITxPriGrgggfYjKMfphyRS l0mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=uWzO5A9x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id y12-20020aa7942c000000b006c507a60e2dsi12053316pfo.177.2023.11.22.02.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:41:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=uWzO5A9x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2D02E8116E5F; Wed, 22 Nov 2023 02:41:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230506AbjKVKlN (ORCPT + 99 others); Wed, 22 Nov 2023 05:41:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjKVKlM (ORCPT ); Wed, 22 Nov 2023 05:41:12 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C76693; Wed, 22 Nov 2023 02:41:08 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DF46521961; Wed, 22 Nov 2023 10:41:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1700649666; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6kSomUq3ZgKD9Dy04ZZVsli1peGLtP7gkcJ/caQ/Ogw=; b=uWzO5A9xEDIEYoWmSXMXHUWo7vnjLVJPopQxOm/IJeUt0FjiDe0bGnYS7kWRz7fShbr+22 XjLqlF14nZbgecSPqMVT/lyoUGnE7wITx8wmm0kwFIIJaUW91mm5UEZ6YhDTdgJQkkTRsU x65avsS0HGJH0F1/MQw7aqoBkBowMw0= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 74C19139FD; Wed, 22 Nov 2023 10:41:06 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 78ipG8LaXWWdGwAAMHmgww (envelope-from ); Wed, 22 Nov 2023 10:41:06 +0000 Date: Wed, 22 Nov 2023 11:41:05 +0100 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Jamal Hadi Salim Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Cong Wang , Jiri Pirko , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Petr Pavlu , Michal Kubecek , Martin Wilck Subject: Re: [PATCH] net/sched: cls: Load net classifier modules via alias Message-ID: References: <20231121175640.9981-1-mkoutny@suse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hvfgyyhk2fzdpfpi" Content-Disposition: inline In-Reply-To: Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -8.25 X-Spamd-Result: default: False [-8.25 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; REPLY(-4.00)[]; BAYES_HAM(-2.85)[99.34%]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWELVE(0.00)[24]; SIGNED_PGP(-2.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[vger.kernel.org,gmail.com,resnulli.us,davemloft.net,google.com,kernel.org,redhat.com,iogearbox.net,linux.dev,suse.cz,suse.com]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:41:25 -0800 (PST) --hvfgyyhk2fzdpfpi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 21, 2023 at 05:37:37PM -0500, Jamal Hadi Salim wrote: > What's speacial about the "tcf- '' that makes it work > better for filtering than existing "cls_" prefix? tcf-foo is an alias. cls_foo is the canonical name of the kernel module. request_module() + blacklist (as described in modprobe.d(5)) works only when calling with the alias. The actual string is not important, being an alias is the crux. > What about actions (prefix "act_") etc? I focused only on "cls_" for the first iteration. Do you want me to look at other analogous loads? Thanks, Michal --hvfgyyhk2fzdpfpi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQpEWyjXuwGT2dDBqAGvrMr/1gcjgUCZV3arwAKCRAGvrMr/1gc jkwzAQDHQdxXiLSK9txPaG5n5I1nu0X31MhXkwtgeqnEsbGX6gD+IXMKMqFV4nxO NvX00/KWQgqRxpCHccYwaoAj7w4rgAc= =Wm5L -----END PGP SIGNATURE----- --hvfgyyhk2fzdpfpi--