Message ID | 20231226094255.77911-7-dongtai.guo@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-11456-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp769838dyb; Tue, 26 Dec 2023 01:46:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFT8z5LTc7R7+zGAA2wQO4qhCtQDSCfKrVh0zim63p0dI11xA52PcnSxVpduApyBvdUJX+B X-Received: by 2002:a05:6214:184b:b0:67f:998b:bfa5 with SMTP id d11-20020a056214184b00b0067f998bbfa5mr8612403qvy.114.1703583963896; Tue, 26 Dec 2023 01:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583963; cv=none; d=google.com; s=arc-20160816; b=uCsSLVfsumu9/MWsY3tctV1It3cUbNmA1FsKoPanq5HO7Miv3UOv1GP2Kjbt5eREPD iEpxrD9cXxwVZDKuu/UKnNJA4QIqCqTwLKmkjqk2bFWFE1yuq/ecW821ctM4PXVwqUZx MOvNQztZz1TBf5mc1VjXj7obeScnM8sOFKl4mQFEIVoyfW8725Z+CUEiyr0UTqh7MfYx HZ770Cdlz2Ux2m7tv3sV+jcIj5ZZhbj1aahcbtuS1x+ASfp/oM0aNEEvUBSPeNe3oiwo Qgbsy/JNnPy/hg5ySLuK+ZBA+7jQMYimEC9z51DO0lAQLCOQmYcLNyQzCdvi6dzHa6/q D81g== 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=tY2JULd1vhiqapQurVNxnnqdDvA2GDjfHUC555PpUGc=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=yuYc32eAGGJY31J4MHn2soU2BBxe7WTzMvwgcHR8nYTTFMu25VpdGFGguIN3AGAGeo L7/zOtqTCIf+yIs3oSsPNmmcAAoQERBIjyWeYNd/MS/qQhcSzAp5McK3mb+liic1L6wE 1eZREXLlosrkLRHo3RJFj0RZcrKZ7bSBDeL9vf5kR3qaiEJxY+BfZKANOLI7YZD3N30U f+rSiaNOFPNYUgsFpzUHyGznVow0PZfhLX81nwllSXiF+nFs+xztLXzLKmTViCnkF3ko ev6lWv1g6+Px6G6r/ppeXAUOnjMOLBTP06jIj0qEmuBlSWFM7dYNtj0zF2lqmWJ/2QR+ 1fGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=LZkpNINK; spf=pass (google.com: domain of linux-kernel+bounces-11456-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11456-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s16-20020a0cb310000000b0067f94610e71si7977741qve.561.2023.12.26.01.46.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:46:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11456-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=LZkpNINK; spf=pass (google.com: domain of linux-kernel+bounces-11456-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11456-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AEA9E1C21E1C for <ouuuleilei@gmail.com>; Tue, 26 Dec 2023 09:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1CFD4F616; Tue, 26 Dec 2023 09:43:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="LZkpNINK" X-Original-To: linux-kernel@vger.kernel.org Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (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 E2D854F215; Tue, 26 Dec 2023 09:43:50 +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=1703583829; 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=tY2JULd1vhiqapQurVNxnnqdDvA2GDjfHUC555PpUGc=; b=LZkpNINKMbbt/SUKeNFXhOyD8V+tcoK7X+16Ut5EKTzEck/pZ9ZGOA27NsyxSQ5fz/NsmC bzeuaZbvE4p1kFFP2smiJLDMnk1pxuRn5Cr5oSyD6HxaBYBC/bJ0fU+oiS/h2nvRtiZeL1 uLRCnxWXKKYIdg9Ct4zMH+jW2AZuqkE= 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 07/14] netfilter: cleanup struct nft_set_ext_tmpl Date: Tue, 26 Dec 2023 17:42:48 +0800 Message-Id: <20231226094255.77911-7-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: 1786337258682718819 X-GMAIL-MSGID: 1786337258682718819 |
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 ext_len in struct nft_set_ext_tmpl. 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 91a1cb6fadf1..55f1b3c7dc1f 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -701,6 +701,7 @@ extern const struct nft_set_ext_type nft_set_ext_types[]; * * @len: length of extension area * @offset: offsets of individual extension types + * @ext_len: length of the expected extension(used to sanity check) */ struct nft_set_ext_tmpl { u16 len;