From nobody Mon Oct 31 15:04:12 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N1GdS5B0Jz4gRVh; Mon, 31 Oct 2022 15:04:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N1GdS3g5Bz3SPR; Mon, 31 Oct 2022 15:04:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667228652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dSmlc3lewhMB4bZGPX6xRumH7n8GgC/8WIhdzHcZGbE=; b=aSOdLfxivGxzCrCkO2hYrHCgmwGuRcI2eW0Q87X277vpkCo4Is/CCku3ws3/lVV8jgXHGE T+Waetjc1vWO4bV67izL/WQa+G5bIo4gDUcKE4kKBUGkqj4A9JFRnJP3uyPGqEowDR79Jd /yNT1vz/DJ8dmaYJQKWXtquIZjggdCijTrmeyuC+dl5hVJtYlSmP9npnOgHMtgpU9CovDQ GPz8p2eFO3HicNuUUrRjougc8jFzBNbLzi6XwrEjeExnemrOErlHU8sCOI1mu2YkW3SVGF mxQa8/jzLp0yJ9k1Jhd8lnrlbO8j3s89bjs+ekosMq6ND2EHUH5p4IePbOJMyg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N1GdS2hJ8zgVN; Mon, 31 Oct 2022 15:04:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29VF4CZw019036; Mon, 31 Oct 2022 15:04:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29VF4CC2019035; Mon, 31 Oct 2022 15:04:12 GMT (envelope-from git) Date: Mon, 31 Oct 2022 15:04:12 GMT Message-Id: <202210311504.29VF4CC2019035@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 830352ccca23 - main - netlink: fix genetlink CTRL_ATTR_MCAST_GRP_MAX define. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 830352ccca2386dde60e0590ad4e3a22532867a9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667228652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dSmlc3lewhMB4bZGPX6xRumH7n8GgC/8WIhdzHcZGbE=; b=rLP0s5DL6OmHG40k51PRXEysBiF5wGG4qldk8Kwbr5hD3NTLTTxXoBgfzuVihXhFY2jGAR nISTetqNQQnXRBUpidoXE33Nds1sztDZxewOJo8mzm82eGX9qwMz5YsWRHMX6x7nD4btuR FaB7MD9CnVv0RgKenn8sjdGY7gCkSdymFhj68bPz2oCut0PUPvI5bgRUOVNot8k8rAv0hW 7cux4w6w97ZcRLvPnAY7f/hinOHOQXnGKltS1DLCCQFlMH1Y0mOEbT/LuCfA7qlZHMtqvm EC3P/iO14HB3bQ+1ilHmPbeiGWoptmQtYuHycQEarwwHMxTgzaN6Tvyq/RuDsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667228652; a=rsa-sha256; cv=none; b=F6t/AGo1HDorbU2h78WMuij9aTj3RnbJH0r7Oehsavg4Uy85mafaVJ185ELEIPfi9Te+Ua l2aVix5mM85cahh58dsf0seKsDbGSLxNY6ZrD4L5buO4d7JcJunwHPXhzVGiouRySRZblA uR9Xx6Vt7QlsLYWYQdSmB+4fkVR4dbIOOizNDqfv24y1HbB+mezRvXkEZ7uMm6HuhpLbnX y+FLxSO+OVxdbmusUNvwmrFRcgc0YCcupTf0JmjcvD6OUb1/pHvz0/CuU9ZfvFH84rWuOQ u85uqWqIraKTu3Vf0MTqm8pt33qN1TlLjr27gjJj5tDrxZIfxT/biveaHb3hcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=830352ccca2386dde60e0590ad4e3a22532867a9 commit 830352ccca2386dde60e0590ad4e3a22532867a9 Author: Alexander V. Chernikov AuthorDate: 2022-10-31 15:03:27 +0000 Commit: Alexander V. Chernikov CommitDate: 2022-10-31 15:03:27 +0000 netlink: fix genetlink CTRL_ATTR_MCAST_GRP_MAX define. Reported by: harti --- sys/netlink/netlink_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netlink/netlink_generic.h b/sys/netlink/netlink_generic.h index f88b6b5f5429..bd7a59f11059 100644 --- a/sys/netlink/netlink_generic.h +++ b/sys/netlink/netlink_generic.h @@ -107,7 +107,7 @@ enum { CTRL_ATTR_MCAST_GRP_ID, /* u32, dynamically-assigned group id */ __CTRL_ATTR_MCAST_GRP_MAX, }; -#define CTRL_ATTR_MCAST_GRP_MAX (CTRL_ATTR_MCAST_GRP_MAX - 1) +#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1) #endif