From patchwork Tue Dec 26 09:42:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Guo X-Patchwork-Id: 183292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp769294dyb; Tue, 26 Dec 2023 01:44:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXv4PJuRTPPyG338nJPuGyBN9bn5g/dKTD5FhQcyq016GpCohT+UQAWISWiwq/Swf5Joyc X-Received: by 2002:a50:d4ce:0:b0:553:a693:af09 with SMTP id e14-20020a50d4ce000000b00553a693af09mr4346990edj.7.1703583847097; Tue, 26 Dec 2023 01:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583847; cv=none; d=google.com; s=arc-20160816; b=nvQckeTywmPZHsYMhO+S5MxRoMkSOnxGFKYDu0jbImaSerJyu+1VgXPb/dTQ3C+Mpk xFJg4PepebEn7THvtctJIFS9iSSxmjQqJMFx9uYkECjXsRyyAEZ3HfWmiBdvxtO/Bajv HEfLONYJJFPRbWpxxFUSrMuUOq9QAiyDAJDP1tp0EdA+wnpKvMJb00PzOCNmPGrZTFof 3gJ97EllTBSWekz2rwBx+Pz6TujmsTxurLLaZCZcBkWkjkhrpzbz7IX6UNaTpkyvg+Ld mF9Mx1PtCFLkCcmel6U/3X1feW9euimVW6LrAodASDOEfW719s4PDlY34XHfrgRz66OI 5qGw== 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=diijefPyY+JAZzp1OGOF2cMFgVmbS72RFlbawZuCE1c=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=ptb62skOU8thRf4tQgqwO8ipk/UUXLQooXq7PyBFxeLIFB5Hc307ZGe0yw6ilS7Llq 0p54WFi7cjuNSUjj5dT27RifT6EF0iW63ZHERMBbVpmZQqrbI/CKvLE0Ny2LNsNGJRwi gOIZpfuqmCKfsVPfqnuq01eFyg2e9L5uA3+JXFE3wPgLnEM4Eu+SpqVaOj2qcUD7ljX/ umg4dX4hTQfMJg/GeYFBsi6N9tDY0KmznJnVnanAkczFZWR/WuyYIuGSGOHzMvHdGqJI jHmf7/yAOR2G8DTQyRlG12fSnFWv2Wxaz3C0ntDlnvCAkEU83NCW0aHuf8hvOOjLCBi4 /jvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=dp8HSrzc; spf=pass (google.com: domain of linux-kernel+bounces-11450-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11450-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cm7-20020a0564020c8700b00555105e259csi749669edb.625.2023.12.26.01.44.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:44:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11450-ouuuleilei=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=dp8HSrzc; spf=pass (google.com: domain of linux-kernel+bounces-11450-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11450-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B67631F226A4 for ; Tue, 26 Dec 2023 09:44:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 330404E1D5; Tue, 26 Dec 2023 09:43:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="dp8HSrzc" X-Original-To: linux-kernel@vger.kernel.org Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 7989F4D5A5 for ; Tue, 26 Dec 2023 09:43:18 +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=1703583796; 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=diijefPyY+JAZzp1OGOF2cMFgVmbS72RFlbawZuCE1c=; b=dp8HSrzcJ/Yz8WS07pSPfa5Q9frvRpO3tPNLUQv3Gis/rmb06edDTVOZvmdORsdtROE3vl Wqi7xdYIoh8yCGykebcOal75r1hwZYkZrofv/+2PA72xQCtJYVRh5AnPkIepY8RTmeVbHA 3uk4sI/rvl5GS4P4S7xKfYKopFMuVjE= 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 02/14] netfilter: cleanup struct nft_set_elem Date: Tue, 26 Dec 2023 17:42:43 +0800 Message-Id: <20231226094255.77911-2-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 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786337136083689463 X-GMAIL-MSGID: 1786337136083689463 From: George Guo Add comment for data in struct nft_set_elem. 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 18ec566cbc34..82eda4c65ae4 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -282,6 +282,7 @@ struct nft_elem_priv { }; * * @key: element key * @key_end: closing element key + * @data: element data * @priv: element private data and extensions */ struct nft_set_elem {