Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2694361rdb; Tue, 26 Dec 2023 01:45:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGYPWAMQIOFHGUftDVu0HD1uXFizOIRJqawZi6MYd7lrpwH2q3kduC2SOBeXSjSJnUtD3x X-Received: by 2002:a50:99cf:0:b0:553:ad68:124c with SMTP id n15-20020a5099cf000000b00553ad68124cmr3183280edb.61.1703583956429; Tue, 26 Dec 2023 01:45:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583956; cv=none; d=google.com; s=arc-20160816; b=k58iLxeSFAnYnxFfxWgorCwKEnGXOVqX4ueckYZi94LWAyzwNMmn95x1aTipLBldaf L0WIXME7LvZOx2a44VVgSErnJt9V6uimTwa1NKjKILngVpMT/6s5rf3F83Kzx7IEebw5 +id2IV5ddVnBY/lL8pWNKGKoMqnKdkSFavr6i+qAq4WCDnYoNRTBchcmTa5cgwSixT65 6cjG/8V+bwP23g0G06jw8v3XcAWccof5JnwqX8PYOwMVBGdq/UjkJkJCK3jPt+/XcT4p v+ZOWl6kwexc+4uDoRWzQkpb3DczJ6yiFDasTD/A+b96idZdApWPbvTxQHVCR/SAKcGT i/Pg== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ch8-20020a0564021bc800b00554692561c1si3663261edb.242.2023.12.26.01.45.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:45:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11456-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 619861F2110A for ; Tue, 26 Dec 2023 09:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09ECC4F21E; Tue, 26 Dec 2023 09:43:53 +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 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: George Guo Add comment for ext_len in struct nft_set_ext_tmpl. 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 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; -- 2.39.2