From nobody Mon Sep 19 13:02:00 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 4MWPvr6p02z4cpPS; Mon, 19 Sep 2022 13:02:00 +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 4MWPvr677Fz3GSV; Mon, 19 Sep 2022 13:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663592520; 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=kqFMZUpiizG5DS+boKVP65L7fhQT82SQmX5NsMrB4/w=; b=ezmSlCTLN5kw4U0dJ+lzGBZ8JN1hpuxOZ/lMnJIA1zXWDqjMTl2l2YqO9LbCDP+uMZ5dgI u+GDX4yTbI0IsjrHsgiDHdoYWyQilssCCqFBJhV3OX0De0Cotlka5AMtBWLdFjlhHR93hN KTQKmgGUyaq1ldeid/mVINiegUws6es2jQRRpWg+yagEFAj33vRgfTjE09sW5E0wxnURwz 1aoU5LDBblJYzGx843Y9EcJ7bCQfiPpezq8ONYKh+ssy6jbR4XSNBuB2hQtEJWqxhtaNkm tcbCaNB0u1nyqD+BJnPW3OcZ9o+b76ZfzFCMuunJb15wltX8Vs0xPdQKs3zz5Q== 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 4MWPvr5BV8zNRn; Mon, 19 Sep 2022 13:02:00 +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 28JD20W5050634; Mon, 19 Sep 2022 13:02:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28JD20mt050633; Mon, 19 Sep 2022 13:02:00 GMT (envelope-from git) Date: Mon, 19 Sep 2022 13:02:00 GMT Message-Id: <202209191302.28JD20mt050633@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 64cce803c479 - main - Correct IPv6 MLD group state string table 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64cce803c479068b93560644c8fc8f02c579524f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663592520; 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=kqFMZUpiizG5DS+boKVP65L7fhQT82SQmX5NsMrB4/w=; b=g6pmjsZgPrr0eSWp86265RRAcFvpS16o6doUH3ZcWtaRlVPEtZtYlNB6VLOeE5MqzvZNGN p53yl3/QDByWVFRpv2I4CFSKVtpwLPYLLFfYFZsPUesv41zDWkfg07k+o6tXfmakCFTX5v lb8JXXEa95oyXUnf8tclxdfxgsR5EGm0Xl3rDPbSVUUL6ZqTtCn2aoo6HWuZw4Eama0V7y M3E0QTQVCVt7CzNk+0+ZNpB11A3lt7ETEYZgHI9WZvDG0K150yF0Pl+CfMvVaq7IaYAoUb NFb3syCq0u+SSjoYGQBkXgMNExwKqZRLlhtBDWjprqdazqRh2Gmnr52Mdjd4xA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663592520; a=rsa-sha256; cv=none; b=tPd1f0hSgTtcU2UgqW97gUgdHY2u0HYBqqX3rw5S9I2mf8Mf+ca0CB8kC0ssiXWq5MsGy3 v7ohMPlhioUiwwpXWtEQz1/JWoBtdj+gudFmtfU/tYYFWDFw1YPLt5AuZQcVYgZFRh15fj p4wQs3LlYQ2fM1WWGxNFauHH/ADssGd/Ci8sxkshOuqRLzEWS7+RrX9GINHw1KQF0ugqcQ yDq9Ts9C3te/CgaO63deC0bpHtc/qlOdkAvXAoC3Xt8B4eexOJ/MLhGUoUIwXVIg8Ja6d0 0ytu4ym8UNiE8tvW+yq1F6Pg7tx77Ocnz1BnEeOIXkRLkLntskDXu75drNaypQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=64cce803c479068b93560644c8fc8f02c579524f commit 64cce803c479068b93560644c8fc8f02c579524f Author: Sébastien BINI AuthorDate: 2022-09-16 13:58:52 +0000 Commit: Ed Maste CommitDate: 2022-09-19 13:01:36 +0000 Correct IPv6 MLD group state string table MLD_REPORTING_MEMBER was missing MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36311 --- sys/netinet6/in6_mcast.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c index a02e18656dc2..0cc8971d60d3 100644 --- a/sys/netinet6/in6_mcast.c +++ b/sys/netinet6/in6_mcast.c @@ -2854,6 +2854,7 @@ in6m_mode_str(const int mode) static const char *in6m_statestrs[] = { "not-member", "silent", + "reporting", "idle", "lazy", "sleeping", @@ -2862,6 +2863,8 @@ static const char *in6m_statestrs[] = { "sg-query-pending", "leaving" }; +_Static_assert(nitems(in6m_statestrs) == + MLD_LEAVING_MEMBER - MLD_NOT_MEMBER + 1, "Missing MLD group state"); static const char * in6m_state_str(const int state)