Received: from orbyte.nwl.cc (orbyte.nwl.cc [151.80.46.58]) (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 DAA9D37F74D for ; Thu, 5 Mar 2026 11:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=151.80.46.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772709321; cv=none; b=WM6DprIqH4YGn/S1AURqMBu1O2RlV1o6UNj1VFi6/ejsqpqCQ7iyb49dwNrZjSPZNmw/62dZABWDHcryxVNpZxAoGZyIIzM3sGJvCTQjuRVltf7bo4zK9hmNIHTCf/zhF0b3dCWoSD8a4VkN32Q4avp2nUS1iySVw5mzaJx8EK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772709321; c=relaxed/simple; bh=CALbPl2hUAGkU4px/JCvqLQKbZG0rk5AKXMyM1h6ffk=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IbQ2d36VyXL1AhI7EKPiSzaNsIxo8fqoj19Nwqr9+gq4Q/FfXLhr7fNe39Fzc0EtZbn3RQbyhfX7Yy6s+vRNpP8hWM/ic9JNetHxk/igmXsuqDK4dwWC0DaTSUq8/UCvtzy9kK++1HQwcwznul/O+duiv698zhbTa71NTUYYqTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc; spf=pass smtp.mailfrom=nwl.cc; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b=YSv25p73; arc=none smtp.client-ip=151.80.46.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nwl.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b="YSv25p73" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc; s=mail2022; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Faxg9YXC04GUJcsawnlby1MTaUdOvP29H4zL9KbmdDI=; b=YSv25p73urfo//XinV7BPtmKfS RW5R1bd6LXB8nDRjnjpBUV6ZnzCT/HTsFbBMaWdXRI0uHB1nCwNeA/YuYTIlYjdJ8GpVPjdf5cefz heYsIRWK4Rj/hSqnw3dbMH8PAyrOaqseEX97ewhiZeRwi2jPZMtmnZRoRoL0C81ULgIY217F6WMVA 9euR+QYo8S4C/hdqhAfr3E8VRoInRvF7uZ1mXIyM3kf62ZDJYtxF2wUfZfhBtA+T5e5Hizmfi5OWd ER0iqwR2voZRH4DQ1+Xuu+J75Z5dQDuwofxAz7rqEY41yOv6R2HpmuUa9agXdpnBLHRXuCCTv677k 8+Y9/OQQ==; Authentication-Results: mail.nwl.cc; iprev=pass (localhost) smtp.remote-ip=::1 Received: from localhost ([::1] helo=xic) by orbyte.nwl.cc with esmtp (Exim 4.98.2) (envelope-from ) id 1vy6fm-000000006wV-1EwX for netfilter-devel@vger.kernel.org; Thu, 05 Mar 2026 12:15:18 +0100 From: Phil Sutter To: netfilter-devel@vger.kernel.org Subject: [iptables PATCH 2/2] nft: Use the current name for the desired NFTNL_EXPR_BITWISE_OP Date: Thu, 5 Mar 2026 12:15:13 +0100 Message-ID: <20260305111513.13910-2-phil@nwl.cc> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260305111513.13910-1-phil@nwl.cc> References: <20260305111513.13910-1-phil@nwl.cc> Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since refreshing nf_tables.h, the new name is available. Signed-off-by: Phil Sutter --- iptables/nft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptables/nft.c b/iptables/nft.c index da008070e3016..5c9cc6b389cff 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -4035,7 +4035,7 @@ static int nft_is_expr_compatible(struct nftnl_expr *expr, void *data) return 0; if (!strcmp(name, "bitwise") && - nftnl_expr_get_u32(expr, NFTNL_EXPR_BITWISE_OP) == NFT_BITWISE_BOOL) + nftnl_expr_get_u32(expr, NFTNL_EXPR_BITWISE_OP) == NFT_BITWISE_MASK_XOR) return 0; return -1; -- 2.51.0