Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2694872rdb; Tue, 26 Dec 2023 01:47:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgJ9Rfj06lgEGAW2Es2xXPXCKn/qq8jzH8GCYi0X9oz0GYs6kV6EZx7M2L68zl6rxnBc0+ X-Received: by 2002:a05:6a20:8407:b0:18f:f040:86df with SMTP id c7-20020a056a20840700b0018ff04086dfmr8769775pzd.82.1703584037340; Tue, 26 Dec 2023 01:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703584037; cv=none; d=google.com; s=arc-20160816; b=kaLxI1H8MNfVNlwyPpAnUqXlV6YCoxK2KvJ9QT70VcuNxnRXdo6ila5VhxtHGZb/cr 50d26cD9VTRk9LjJJtetZYA71pdeFgghttop/GkoCaEWe2yQngLEiLhinuss0iyXjb7f kD3/v1Cyh10Sw795ExGmIb/PSv7nxtlIjvh1+2YiGaRLfuYRRHhK16h/1Uhsn+RJdC3h 7EfX7CnN+h1u4Xd6nxND6WGjX/ZIKnnPDv7dnyRE9ReRsMSa4NUiiQx1OKpuYXnJ4/5m FHBq+0sWp3CSKi1RIKQPzx+7JkK2RusV+Zgd55Bpyp/2Bq2yB8Fx3UvrQnbq+BroUj2h wg2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WtCODN2ut5B36lflwZvDOFc9jG0uUJhY+OWc+SFFpyQ=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=N5YpnNAg6wzbLsgHyASUzwGSyW9s8YyigJVtASC9EYpSvANmBKfNFE4nuXV+txBt3D Q//uAihpWaKumNd+Fi3rahYesAQmYFVAtiQ8r/2uKZoSRP7DdPD3e8Pprbdos7tL3cTt 9BVYVFsVjN48onzPRSZBFL6PMsgVocQ7NaAHnkddV5XCTb9WP/sozJmnBrzEbs9T14lK JqAvk6zHWX3FtrG+K2i90OfPSjBV7Cc0BiHiCeSC+9+MJ85ad5ubbsezdjJVGmQT6ttD 8leh+b8TJJjYJD/I4HGrNA7L4y9N6YuHSKa83YlX2cOlDGxtvUWo4oHwGmuJ0AQKG/aD HEDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VA9m+0eT; spf=pass (google.com: domain of linux-kernel+bounces-11460-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11460-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o2-20020a62cd02000000b006d52b0c27c2si5983383pfg.373.2023.12.26.01.47.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:47:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11460-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VA9m+0eT; spf=pass (google.com: domain of linux-kernel+bounces-11460-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11460-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0B7FE2830F8 for ; Tue, 26 Dec 2023 09:47:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C384B52F63; Tue, 26 Dec 2023 09:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="VA9m+0eT" X-Original-To: linux-kernel@vger.kernel.org Received: from out-184.mta1.migadu.com (out-184.mta1.migadu.com [95.215.58.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD715524D2 for ; Tue, 26 Dec 2023 09:44:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703583858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WtCODN2ut5B36lflwZvDOFc9jG0uUJhY+OWc+SFFpyQ=; b=VA9m+0eTMeq6v2h6MbhM82UcediuFgMYcymAM2n9ve5kzqpP+KQ5RO88USUHON17J/Wv/z wDmmt8vQsGg1Arlt2Jxqy7LJeH5bCYg9TyMSE2VKNE71FTcyRiud3UMeEBBwMrOcujeJI7 hgU95zeDOovWqAdbJ7uC1wQNYhm1kGI= From: George Guo To: horms@kernel.org, pablo@netfilter.org, kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, George Guo Subject: [PATCH 11/14] netfilter: cleanup struct nft_base_chain Date: Tue, 26 Dec 2023 17:42:52 +0800 Message-Id: <20231226094255.77911-11-dongtai.guo@linux.dev> In-Reply-To: <20231226094255.77911-1-dongtai.guo@linux.dev> References: <20231226094255.77911-1-dongtai.guo@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: George Guo Add comment for flags in struct nft_base_chain. Signed-off-by: George Guo --- include/net/netfilter/nf_tables.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 2ee906429cc9..526332bde1b4 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1172,6 +1172,7 @@ struct nft_hook { * @hook_list: list of netfilter hooks (for NFPROTO_NETDEV family) * @type: chain type * @policy: default policy + * @flags: indicate the base chain disabled or not * @stats: per-cpu chain stats * @chain: the chain * @flow_block: flow block (for hardware offload) -- 2.39.2