Date: Wed, 3 Aug 2022 09:18:10 GMT From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 08bb0873ca88 - main - routing: fix panic for p2p interfaces after 800c68469ba6. Message-ID: <202208030918.2739IA6H022150@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208030918.2739IA6H022150>