git: 08bb0873ca88 - main - routing: fix panic for p2p interfaces after 800c68469ba6.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Wed, 03 Aug 2022 09:18:10 UTC
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=08bb0873ca88be777e1fc8dd9d374e4da938be65

commit 08bb0873ca88be777e1fc8dd9d374e4da938be65
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2022-08-03 08:21:08 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
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,