From nobody Tue Dec 14 22:28:04 2021 X-Original-To: dev-commits-src-all@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 E11B018F5765; Tue, 14 Dec 2021 22:28:05 +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 4JDCgm5B1dz4cc1; Tue, 14 Dec 2021 22:28:04 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 78934103FC; Tue, 14 Dec 2021 22:28:04 +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 1BEMS4rh051216; Tue, 14 Dec 2021 22:28:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BEMS4N1051215; Tue, 14 Dec 2021 22:28:04 GMT (envelope-from git) Date: Tue, 14 Dec 2021 22:28:04 GMT Message-Id: <202112142228.1BEMS4N1051215@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 574763f1a7da - main - rtsold: Note network interfaces changing index when removed/inserted List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 574763f1a7dac0594d2d913b4b6afc2f96a71f49 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639520885; 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=CSGtcPozMtzaTwjZr5NwqHi02hJ1u2JE1OIOHOIUg5Q=; b=yzPiU1TPlQ5t0cUuaosExpec/AEJAURXvFEV/Qloq2WwwVr4lUsT3/hU9nLO34EVRjx/KD 5YAi6XqRu3PerHFAYjtkGqhmsuTVSnD+1VlNaLiWXS2YaKMIk6M3oHfwZIjzWJykT9B+0H JmHC2K3GiBp4LTdYKi1OSJyvPSmLDmtMJNlU+iE3SwxuthSMWaGMdqsAt5aNK0TqXooH5y fG//wMwnwbmq8v1sizXiFQhglMC8YAxxPHAg9bL7QEqkaK26Hb1rdL4JBWOe1/Qd9Nsl6u nBb68eKBJ7Kc5ecevohRtjXvDJH5W4lENt2rNcQLQgdDA87GJqR69hrAedByag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639520885; a=rsa-sha256; cv=none; b=PsY+KBzLxsv0qciXlKEASiLpHBabVlfXdrn+8oFRt6Nn7M7UKTU/QcgpYh08XeYXcuz1HQ eQOsb84mGtEa1it5gDW6eHxd8qH774vHBJsyRdzKbUlMeE9W90RYrHrOt4NdQ/bZ++vzuD lBiQoSegq6wdiwwCdgwsznLjD+2iZCfmpIATNfBUQMk0a2D9zznOdWrQOPYrs2+HgFlxLA CHm9wDDVCXL8vVqKRm3Yn1LC2so16B7OOTBKC8B94p3VClWgt/mnsKS+sMDVHwSxO0bjXf 2HgRW94g0nKErWsD+iyaDMbqyb+VUkHPIxdKblLt1D0AW2eZQ0Y8l7sAPawuDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=574763f1a7dac0594d2d913b4b6afc2f96a71f49 commit 574763f1a7dac0594d2d913b4b6afc2f96a71f49 Author: Warner Losh AuthorDate: 2021-12-14 21:54:10 +0000 Commit: Warner Losh CommitDate: 2021-12-14 22:27:47 +0000 rtsold: Note network interfaces changing index when removed/inserted Remove reference to PCMCIA. The issue is more generic than that. Also, it does apply to FreeBSD, so no need to hedge about some OSes. The index won't change if no other interfaces are created after the card is removed, so note that it may change, not will change. Suggested by: phk Reviewed by: gleb Sponsored by: Netflix --- usr.sbin/rtsold/rtsold.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8 index 6b0e64ab0fac..992d3a0f784d 100644 --- a/usr.sbin/rtsold/rtsold.8 +++ b/usr.sbin/rtsold/rtsold.8 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 12, 2021 +.Dd December 15, 2021 .Dt RTSOLD 8 .Os .\" @@ -309,8 +309,8 @@ is now integrated into .Xr rtsold 8 . .\" .Sh BUGS -In some operating systems, when a PCMCIA network card is removed -and reinserted, the corresponding interface index is changed. +When a network card is removed and reinserted, the corresponding interface index +may change. However, .Nm assumes such changes will not occur, and always uses the index that