From nobody Fri May 16 13:05:42 2025 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 4ZzS4S4ZXtz5vgL5; Fri, 16 May 2025 13:05:44 +0000 (UTC) (envelope-from ivy@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZzS4S3sjPz3Z4l; Fri, 16 May 2025 13:05:44 +0000 (UTC) (envelope-from ivy@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747400744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WUbUZ2zD9OmxjUc5G/KJ8wdVbjrboAA6eN1xShYtDdc=; b=em8/h4CNfDp6dxg00C1hYufwPi/m0EMx0fGpC1/nCEf+q0BGZOhz/Dz0qoNMW7iOM9U7KY L8JKmX3W28bALlKb/o7gxxHaQYHRgsrmuUGYjUEJrvBcvUIQEsmtvNQh6tXzwSeRuF5DQV 6uO+0M79FGaPkZ4+cGMqJs+AnOIivxogjxtFeujPxDERmdwpi6rYSpbq83EwfY+wEY8Bkn lpL1rXMYgtxCtgJC1zlPUIMvDMcFa9AH/RnDl/WOaI0EqPRPvhm00gc+RSi3GJrnuc+xVY D1xCueDONJcjEbEmYnYqMSxj4QoEROF5x1Xknab1GaG+zQTOpm9rytqOrGEnkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747400744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WUbUZ2zD9OmxjUc5G/KJ8wdVbjrboAA6eN1xShYtDdc=; b=KHGWUK5pODpQFmBjrdD+sXD3W8QsiSjeEj+AqFGB9rUFFyzqThjqARyGw5y7ED6ci2oNJc nmUOV8bMPRjvSC60Z4CEN0soqQpj+hLGaOYBQrKcu/w2cB683KJe9sVpMNCJ3kBnW323NI 4ZQirkG88XLqHpQo/Zrj6ppYgvNnFr6QZOylIuhuuxD5oKltQ8Quj4DWDvGDN25shkpRX1 diTIB0VCRYBvCQP0C+9Cy+aLY7pK5HPvEDxyRxwkq/3aNM0HPRtkAfvyKNTkguai5mz5Sw O4/Z9FvouqaTZ8qsHeDw/2W1JoMR0cyZ4rgtdywpOUjUnZ+/L59hHWzIbyUhxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747400744; a=rsa-sha256; cv=none; b=VM0SoZRg1/R7ztyB0INOogOl7KOXCS2EKo2aawamG2ycdBi3xPOGQ60aBKK2FSb9Xk9QSM xbhswfeWj0EHqzvJOMc/7t8no2uIsUb3JUJO1AcrHQ5yh85zeNiRodwicQmwr32GPLkbLE dXBFUynqWGxufK8wtnRoIB5nUrRrfOH5+pYevsIjf0rk3959+7BB8BEy+DY2fRbWYHhtqZ yh/N0MUEAeaq6vunrO2ZDGDZAEQD8cATaCVRa80pcToqd9JriLP5oNj+oVZ/2e0CNC1zcb NecMVLMuHB4uEzKk/O/Ma5jIpIPGgwoie8Im6cUR+5tGvkhvEhZcC4yrABMeZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ragweed.eden.le-fay.org (ragweed.eden.le-fay.org [IPv6:2001:8b0:aab5:c401:1::1]) (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) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZzS4R6VWHzvB4; Fri, 16 May 2025 13:05:43 +0000 (UTC) (envelope-from ivy@FreeBSD.org) Date: Fri, 16 May 2025 14:05:42 +0100 From: Lexi Winter To: Kevin Bowling Cc: Cy Schubert , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: b61850c4e6f6 - main - bridge(4): default net.link.bridge.member_ifaddrs to false Message-ID: Mail-Followup-To: Kevin Bowling , Cy Schubert , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <202505150004.54F04FhR046897@gitrepo.freebsd.org> <20250515185812.AE47677@slippy.cwsent.com> 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8w7JQOuCs6iA9ocd" Content-Disposition: inline In-Reply-To: --8w7JQOuCs6iA9ocd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Kevin Bowling: > On Fri, May 16, 2025 at 5:17=E2=80=AFAM Lexi Winter wro= te: > > is "epair0a" also in a bridge? if so, this is intentional. > Hmm, can you clarify what you mean? I think that is a common > configuration, it is mentioned in epair(4). basically there are two supported configurations: - epair, with an IP address, not in a bridge (e.g., routed access configuration) - epair, in a bridge, without an IP address (e.g., layer 2 access configuration) both of these configurations are fine and are still supported. there is also a third, secret configuration: - epair, with an IP address, in a bridge. this third configuration has never worked properly for various reasons, so the change in b61850c4e6f6 is to prevent people from doing it and ending up with a subtly broken network. the reason it's a sysctl is that some people are currently using this configuration and may not be able to migrate immediately. this is *not* meant to be a long-term solution and i intend to remove it prior to 16.0-RELEASE. the correct fix here (rather than enabling the sysctl) is to configure the IP addresses on the bridge instead of the epair, which is now documented in bridge(4). (this applies to all types of network interface that can live in bridges, not just epairs.) there's also a thread on current@ about this[0] with some additional discussion; i didn't notice when i replied here since i read my personal email first. [0] https://lists.freebsd.org/archives/freebsd-current/2025-May/007602.html --8w7JQOuCs6iA9ocd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaCc4JQAKCRD1nT63mIK/ YGg1AP0bVXn6/rAzik760GEVNe7w2O3X3tdWFHjV2vw1m1weogD/XIpZiVGLwhQ7 BIhhIqEA8PB0XLMVH/B0viXkyDdkfws= =rVqJ -----END PGP SIGNATURE----- --8w7JQOuCs6iA9ocd--