From nobody Mon Sep 28 06:35:12 2026 Received: from mail-ej2-f3.google.com (mail-ej2-f3.google.com [74.125.228.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8645330E85D for ; Tue, 25 Aug 2026 15:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787673548; cv=none; b=QPG3mXmNbjD5q/04I1cyS9fBVvlYFrlMKQIu8iI1K5esd2h9OG5x8AduHbICVq/KgHZAGgEkb/a0NwBtY5ZjY1GDJA7n48325Yp1IAxfhBOdA9f20TKWY3SUAdPVMLcgxGKkn6ZdCM67WG1UleR9F2Rv7IqYzQnzTImVr5VZKZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787673548; c=relaxed/simple; bh=RRut4CcXzZ33X43C9H5lQOu9ePxUARCVaLziJt3a6PM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ebMI2WRwQvRMRIW7gw3HYN4XFPvnBlNW9Vi+tuu1K00y26UQNOT/1ww5dV9VUfFqkv5rUDDbiH03YpqN/O/dpuT9LCMWww9WuOQumVJC+FWKMcf9Z90k8380sgJLgm5nZoF06IDY2+dKHyqjOKI9S9RlwCCUkMe4ytFqjQlT0ik= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ovn.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=74.125.228.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ovn.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej2-f3.google.com with SMTP id a640c23a62f3a-c160e831693so195627566b.1 for ; Tue, 25 Aug 2026 08:59:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787673546; x=1788278346; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wr1rmaQc3zAX/KiOiWAbKtWPn8dgUIfKo9r4PXcz4Iw=; b=CdlFGo+Z+kPRaKf1gwZgWmuyCLjCc7chIuHpQS+ZHaLyjBxJwAD6sOUe6EhA4A5YOl 7RzghZ6ZgvwCHDh9B3XtytF9GIMFoVVAdEv3qBFKX2VAITCqecJi6J+1KpTjmAe4ekAx Vx8uoB4VkwO7aCEfFGowBfyQFEmiYowUmZs6fjJfqOo487w7iIliYSP6OyfwJ24S9a7o B5kZ1yRJ4WscuhBbKoqlvyBfj2RvxGrjdRFUgc6A/NeefU+5IDmPxQVZJHabP0ur17O4 ao4Jm6pnTSDtKQTW2CQC+4cOgoOwH2sPhGp8z7oTLV7VXAWpx8WQ/H/2SNuIVN0M8gPS rKyQ== X-Forwarded-Encrypted: i=1; AHgh+Rq7+EJ7al5abqn+LpkTy3yP8RetRCSzqW0yToEzNhB4vBY++5oCU/bgBscjPHMbn5OOplJrcM6LAqyZy1M=@vger.kernel.org X-Gm-Message-State: AFuF++ki+ryVqeIohKPyCjkQzzwnHMbteWHd4SYl1ege6sefR8o7nMsU b6mtmznrnlvrgcvS/rQF9IcPxLOsbw4R+5EPmKrEQ7sH2stc+JQlLCQL X-Gm-Gg: AR+sD10oGSEEs9diXuT7UwN5WoKz2W9kBQTGLoxHcnfGMw6ZCVh70EDfqJ7tp8zr3rV EoRr50leqVNTNH/+abNioNsgbwPCHgclebHVM1dkJoIASX2Mcu2H/hY1PDm0i77qFa6HqyqsTSV sImnJ7Cue+kpjos10ld5kPzwTJ20nvft867kS/Gl8C1DxC2gPJ8PXKlHOjRXXtGIgoglFH2BQYq DLXa9mG2wGEylTXGe33YpVWPR6zCfJ44UmkgVqO1vD5/geRYa4EbmO7ivYtqVnpQf+CK6/6Pk2m 10+3XdzsO467EYETNNtiqQIv3S++PoNn01A7l9EWuKnApMvJcJuyZVox4dmvmvOOlMyzLIvYx17 lnlM0tY+Bbaso7db1QHabqnlDWpCjOSxQxA8CkJce1rLs8BbNYfUgvpuEXaGot8wRVQKUp6RqRC HUOWtJ8lldTD/deaxC/cfGY6XaxBuMh0pgDJBqqUV//0KGhuNcurwIgoYMVo9vO0uAJzcp9NId3 w/neDL60FqihxRYD2cw X-Received: by 2002:a17:906:f588:b0:c24:d430:3929 with SMTP id a640c23a62f3a-c24e58cfc2amr923308066b.1.1787673545645; Tue, 25 Aug 2026 08:59:05 -0700 (PDT) Received: from im-t490s.redhat.com (89-24-33-32.nat.epc.tmcz.cz. [89.24.33.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c250a88ac7fsm23088866b.30.2026.08.25.08.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2026 08:59:05 -0700 (PDT) From: Ilya Maximets To: netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Donald Hunter , "Remy D. Farley" , "Matthieu Baerts (NGI0)" , Florian Westphal , linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, Ilya Maximets , stable@vger.kernel.org Subject: [PATCH net] netlink: specs: fix the conntrack filter type Date: Tue, 25 Aug 2026 17:58:00 +0200 Message-ID: <20260825155832.3685714-1-i.maximets@ovn.org> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The CTA_FILTER doesn't contain nested tuple attributes, instead it contains bit masks that specify which tuple attributes to filter on. The values for filtering are taken from the top-level CTA_TUPLE_ORIG and CTA_TUPLE_REPLY. The bits themselves somehow are not in the public headers, so not defining them in the spec either for now. Once they are public in uAPI, they can be added here with enum-as-flags. Fixes: 23fc9311a526 ("netlink: specs: add conntrack dump and stats dump sup= port") Cc: stable@vger.kernel.org Signed-off-by: Ilya Maximets --- Documentation/netlink/specs/conntrack.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/netlink/specs/conntrack.yaml b/Documentation/net= link/specs/conntrack.yaml index db7cddcda50a..46f1ba880745 100644 --- a/Documentation/netlink/specs/conntrack.yaml +++ b/Documentation/netlink/specs/conntrack.yaml @@ -360,6 +360,17 @@ attribute-sets: name: tsoff type: u32 byte-order: big-endian + - + name: filter-attrs + attributes: + - + name: orig-flags + type: u32 + doc: bitmask of tuple fields to filter on, original direction + - + name: reply-flags + type: u32 + doc: bitmask of tuple fields to filter on, reply direction - name: conntrack-attrs attributes: @@ -466,7 +477,7 @@ attribute-sets: - name: filter type: nest - nested-attributes: tuple-attrs + nested-attributes: filter-attrs - name: status-mask type: u32 --=20 2.55.0