From nobody Fri Jan 13 21:25:14 2023 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 4NtvZz0ZDxz2qkm1; Fri, 13 Jan 2023 21:25:15 +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 4NtvZy6bhYz425H; Fri, 13 Jan 2023 21:25:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645115; 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=y/T6AVxSoc+4CXldWiCqCY5kiezujEZU4a8Sc22ZA9g=; b=qQfGES0+e/zFwltu5dtF3uUergFDhqEKN+JjkG0JPmaFaoOChpemYDXGkwomy3qCoiBWnM j/ZD3uRwof/3jJyAUv/ZFJe2EUH9zCp6oi9EzBadcNhF3s1hfniS04g+IwzZO1gjmNE+S4 IYPbXTgoFNwL2cjSYZFWdB4w1qheb9lyQKL9vvrvGipP23pTKTywbV/GZZGVLIqotHlcbu 3/d3/X3gCbPFszhog7oNpuqMqI1bczOXNIpeIWItpXsZvVlNUf+/mZUsU0fhCG7uXqe3I/ dwvwY82n/v973bl7jJgEaemMVyKOU7EMHKi83KtUOTa+ldQmqgjBEJiXckKlJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645115; 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=y/T6AVxSoc+4CXldWiCqCY5kiezujEZU4a8Sc22ZA9g=; b=JR+fzeEy3UF1MmvuI6+y7FO083gV1jhLKrZhXRbN5JQN8kemyx3vLp2dHQ5uVi0pNNy4wB Rrd5KCGmqa9gAMoaet3N4JnJulwGpgQWj5slhW/wLk2t1XQv3BgOBRAGDESFhvR1S1Ac1M dDhYZErwpkVUQfd6Sg0A7RsJ0JI8r9otJtmg8FbQjTqeX36hiitJJwrCyYR+EFw14Siluz hcQQ8INa8t3W06rIVtOAUWzHBHGg1PhM+s4eBTizS/PSAdsjFeZiit0FXcOawjIWUki5/g OH1Qa7wLqeVol9mg9ngUBHkTe3BkycAHX+wYIge03a3bG60zgqozk1GhJ7cbhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673645115; a=rsa-sha256; cv=none; b=Z80rHC3O0u5Xo0EQ7TUMToiCfU4HY/zimdGkE6B63ppQg3q60voEwqnTcirQPoYplJTEuJ DqDc+EH62xLAFJ/cWBnalailMxRN8rKKQr16v5Bs93vI1uEJJOnHGV7L2SxjGk+YVs2PDz J5S1O1t5iyoigdcEvQ4ZKbKFuio1AEiAqOEPaGgYuYGYhQ2EcJEW98ozMrnZmMgUrhMS5j dALHQBGF6l3Q/YzRXbVLrjWGH5RL6BfuLfko78qW3aHUF+39e/+Hvg+AhgBk1BSTd/Zmg/ 2Il2hsweFuquPZaVFvLHzEsd/OF5qaTfzFeb7EIdGQ43XzNqOeGZT3Gb7oBwdA== 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 4NtvZy54s2zMvB; Fri, 13 Jan 2023 21:25:14 +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 30DLPEct041570; Fri, 13 Jan 2023 21:25:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30DLPEYA041569; Fri, 13 Jan 2023 21:25:14 GMT (envelope-from git) Date: Fri, 13 Jan 2023 21:25:14 GMT Message-Id: <202301132125.30DLPEYA041569@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: cc2643ea3cf0 - stable/13 - routing: fix panic for p2p interfaces after 800c68469ba6. 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: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: cc2643ea3cf08931836c0359b2e391a14caf3cd4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=cc2643ea3cf08931836c0359b2e391a14caf3cd4 commit cc2643ea3cf08931836c0359b2e391a14caf3cd4 Author: Alexander V. Chernikov AuthorDate: 2022-08-03 08:21:08 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-01-13 21:22:57 +0000 routing: fix panic for p2p interfaces after 800c68469ba6. Reported by: cy MFC after: 1 month (cherry picked from commit 08bb0873ca88be777e1fc8dd9d374e4da938be65) --- sys/netinet6/in6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index b0a8c1608b6c..555b75267c66 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1279,6 +1279,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,