Message ID | 20231226094255.77911-11-dongtai.guo@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-11460-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp770317dyb; Tue, 26 Dec 2023 01:47:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEfW8B8tnJfEScIfT3yzl/bQxZDRClna4+MVB+zpWuJz9y5Y3irJeQpICOU+z1cGCd96kt X-Received: by 2002:a05:6358:6f8f:b0:16b:9653:a40d with SMTP id s15-20020a0563586f8f00b0016b9653a40dmr6235217rwn.13.1703584059056; Tue, 26 Dec 2023 01:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703584059; cv=none; d=google.com; s=arc-20160816; b=cC0fobSSx75X45yzLlK3s0LiXO00CXfJxjRMVyrA4dmdjEDMbb+hnSvLP2BVfacGUY 2UbCDIyOe3GtoHrnKkTrKBn6GzC5mH4Tl/bnUW7QtJpGCYZW8EYAUJYedeB+bt/ezN5X f5L8PyQuevQBardzLkqe73xy02xiI/vGOLgaM6C16jJPCfXE3sWRaxnCipKRwhUfwYUc xe0xMbDYpeM8zOfFRR9ame7/kYAD5YAcELcPxf76m7wZg3658/2uH8fLn7fJp3OGPJ28 VymFPAVIYMGH+Ctlzig5UAVyXbMK8nafLhvfRRNxdan8qqTJiPSKaLEWtO0yQa3aIxk2 ntVw== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11460-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u10-20020a63f64a000000b005cdec4c81e8si7837225pgj.514.2023.12.26.01.47.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11460-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11460-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 65516B21DEB for <ouuuleilei@gmail.com>; Tue, 26 Dec 2023 09:47:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C5A94D13D; Tue, 26 Dec 2023 09:44:23 +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 <linux-kernel@vger.kernel.org>; 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 <dongtai.guo@linux.dev> 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 <guodongtai@kylinos.cn> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786337358185979382 X-GMAIL-MSGID: 1786337358185979382 |
Series |
[01/14] netfilter: cleanup enum nft_set_class
|
|
Commit Message
George Guo
Dec. 26, 2023, 9:42 a.m. UTC
From: George Guo <guodongtai@kylinos.cn> Add comment for flags in struct nft_base_chain. Signed-off-by: George Guo <guodongtai@kylinos.cn> --- 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)