From patchwork Tue Dec 26 09:42:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Guo X-Patchwork-Id: 183294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp769523dyb; Tue, 26 Dec 2023 01:44:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IELnzHL8whDCJdWZx8EZQIzl2/4VQPF4R9NWxsENydTpc+qRvsOXTa6oJDf6dc2muvpfrJ8 X-Received: by 2002:a05:6808:140f:b0:3bb:6dfc:c0ba with SMTP id w15-20020a056808140f00b003bb6dfcc0bamr9148395oiv.10.1703583895804; Tue, 26 Dec 2023 01:44:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583895; cv=none; d=google.com; s=arc-20160816; b=l4tcUubAGujOZlBYnl9C5S/rON6Vw/b1OkWQ+92d05qNxRToNYpnlKbFVfT5ulCVD9 ntvaJKeS3BOhT/7U0387Z4ZeOEQ0N2tiAJsW8/lzEXZUtP1hxAkfAkaoRS6Fm6mIu3+T DQlsqU/amjA4gV+mMuRLtD5L88TmwPQadIvtdECGAPP0ZxLlrsgxRkyVXmsnCfJqkCBv JqSwKSEL0X2o2UABfbHULCyqNR4AkFe/axbrBnvrQo1msZsSTk4jgF/FBTfDkPQiR68s eJKZHL86inkebpb6V7QL7eOVmzPj8Zbpj5ytU4mvHF34vcd+1+WXTV569letB2G3fzIT uAfw== 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=IpGgCvekvQc7bdKvRP+sUzLtpSdphIQ4D71t1O0iu/o=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=f8zrYkGIygGbkHtVaHN2Huy2hvhz4tF8I9/+iNl1Si9LSXB2OXKYGG6RlOgWZniN+0 ouThh7LaqMOzBYMobE8Jl7GGlsUdrubrKUvWSsK/cUhYX4CcsPsiv7K5fZdMVyrAAWIf 11KnvcIYnecDmZEdRb11gR4NGnKRaaW2n4lSlqpZQ4cQXGwe47wdoueXXSlnUkgZfJzl z1M7CMwMWm7lXTUXTyxmdbz3e1Np3eNVnTq6UpQRgF3FB8uPi7Da7IvxiENnEBSRjma3 nearkqK9anWXXiK0hkZJBmqIdnWQgRjntLIdT2+Zd9wpBnimW+tG1+sOk4h8dHt0VUcd qusA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=K2qOaIsv; spf=pass (google.com: domain of linux-kernel+bounces-11452-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11452-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v6-20020a62a506000000b006d93e48a82esi5471408pfm.221.2023.12.26.01.44.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:44:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11452-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=K2qOaIsv; spf=pass (google.com: domain of linux-kernel+bounces-11452-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11452-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 E4DD6B21E61 for ; Tue, 26 Dec 2023 09:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4388E4E618; Tue, 26 Dec 2023 09:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="K2qOaIsv" X-Original-To: linux-kernel@vger.kernel.org Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 203FD4D13B for ; Tue, 26 Dec 2023 09:43:25 +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=1703583804; 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=IpGgCvekvQc7bdKvRP+sUzLtpSdphIQ4D71t1O0iu/o=; b=K2qOaIsvvbc3RQnM7y3T9Hi7PCrnioH33+nU/C/ysEAGXf6zRiC4Bjc1Xy3hyN0s+72o8f MOTCqXyd3ehhgvhu2zxPQgL+XQLS1VFwU6TZk9Paj6eY1xo5nIsWpiIZIxkKkNZ0jft9Yd 7dJ9DxQlfKOw0LoyC+kAlvkIMeanUsE= 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 03/14] netfilter: cleanup struct nft_ctx Date: Tue, 26 Dec 2023 17:42:44 +0800 Message-Id: <20231226094255.77911-3-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: 1786337187374296989 X-GMAIL-MSGID: 1786337187374296989 From: George Guo Add comment for flags in struct nft_ctx. 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 82eda4c65ae4..adabddc4b0b9 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -205,6 +205,7 @@ static inline void nft_data_copy(u32 *dst, const struct nft_data *src, * @nla: netlink attributes * @portid: netlink portID of the original message * @seq: netlink sequence number + * @flags: modifiers to new request * @family: protocol family * @level: depth of the chains * @report: notify via unicast netlink message