From nobody Wed Aug 03 09:18:10 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 4LyR9G6jY1z4Y3sh; Wed, 3 Aug 2022 09:18:10 +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 4LyR9G65Wzz3Fhk; Wed, 3 Aug 2022 09:18:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659518290; 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=fZQYhaAadkmrDttUSiKJTcOnlUi3krR2mm/tAKcxGbA=; b=AyzXv0ZZdk0Zx6FNtgb/KydL8gnecK5FFv5C/+qqOg13iEETwM0QmtkPrMPI1CBeHOila1 WQN19hsizkeFm6EpFal8QmvOF6Un8EaEatHwz411IJA901qsxQ9FndwfbejZt7X4v3jnqr QoQ5f62rmTyISCsnK/cPIlzORQHb2YyDCBM1kT9UDT3YeQd55EXnQZlar8tqLaBRuoeyz9 fL9hDctaspFTY4jtti3lywdEuhuFCAdHXlUxDZQp6pNgQMVrYkcCxZ3VC5KVHYuxqGlCPP g2t5rdjLUlprwcJa6kgH+KD3k4aS5w/PMvtRsZIw96DdS4SYVe0MJ2EtC4nLTA== 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 4LyR9G4vcBzm71; Wed, 3 Aug 2022 09:18:10 +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 2739IAUW022151; Wed, 3 Aug 2022 09:18:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2739IA6H022150; Wed, 3 Aug 2022 09:18:10 GMT (envelope-from git) Date: Wed, 3 Aug 2022 09:18:10 GMT Message-Id: <202208030918.2739IA6H022150@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: 08bb0873ca88 - main - routing: fix panic for p2p interfaces after 800c68469ba6. 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: 08bb0873ca88be777e1fc8dd9d374e4da938be65 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659518290; 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=fZQYhaAadkmrDttUSiKJTcOnlUi3krR2mm/tAKcxGbA=; b=GV9oplTg2ZDQ4RR2YGQQHX2i25TXLKDFeONJ9ssPwrB6Fz21U9Kl5qcqltRkFNRyOjbILm nILg+724XnXKB5kwhSUGJXCxxd/iBo45NT4k93I36GFIup3JOibc9BTjs4koYFox9qrCdz DTjARUE6e2exXyMSYr6Z79udlADmV85l8aHYIv/6eWRiSEkGpcg7dEbY/CTz0t4gfGk1xU 8OnvMAkY+n7wYzPr6s5mvYhsoCJI3D2vR4FxuO9uNTjMdGf3kfjNd4UJ8VcintcbFgDLit CmBlFCZtL3htbL3ZbgtJnThVMvIRCn+ZvUN0F7msvNGlLA0AC/Sb4UPMD/72bQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659518290; a=rsa-sha256; cv=none; b=bT9v0JTZqea/RscgOvB7K6iy1OL7UePWzWfp7IsY5Bs8vZ/PN4Fxmwr2lj346+dRErl8y6 JH1hJItZ0uyz+s4ZCN2BbTYeYXdOufdI7cqFNHS0NQ09yzmkPZsuXYgwlbKVEMnc9DEV4I 3xLJCTgVtRlOrj1ulWqm0KBFxHMW3JcLhc5UtILcrRIptPTro9myb2eNDKp3J2yZJYZQ3s 1bUV8tkljX7jeuAO8eMLfmzIeW6NqBN4JJ0GvvDBfsUiCPMs3RHxiemCAADQKRM2/8X7/B 1i/vRCn9Ui5GVrbaEtlHK9HmCJYvb8fxJbXIVisEZca8cGmI7dAh1wuZCKibBA== 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=08bb0873ca88be777e1fc8dd9d374e4da938be65 commit 08bb0873ca88be777e1fc8dd9d374e4da938be65 Author: Alexander V. Chernikov AuthorDate: 2022-08-03 08:21:08 +0000 Commit: Alexander V. Chernikov CommitDate: 2022-08-03 08:21:08 +0000 routing: fix panic for p2p interfaces after 800c68469ba6. Reported by: cy MFC after: 1 month --- sys/netinet6/in6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 02294b40379b..a69758678b4c 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1295,6 +1295,7 @@ in6_handle_dstaddr_rtrequest(int cmd, struct in6_ifaddr *ia) struct rt_addrinfo info = { .rti_ifa = ifa, + .rti_ifp = ifa->ifa_ifp, .rti_flags = RTF_PINNED | RTF_HOST, .rti_info = { [RTAX_DST] = (struct sockaddr *)&dst,