Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2023 15:49:13 GMT
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bb55bb1740d2 - main - inet6: Include if_private.h in one more netstack file
Message-ID:  <202303241549.32OFnD1c078753@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhibbits:

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

commit bb55bb1740d262ea5f4e083a9d116339932ee39a
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2023-03-06 21:29:24 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2023-03-24 14:25:35 +0000

    inet6: Include if_private.h in one more netstack file
    
    ip6_input() and ip6_destroy() both directly reference ifnet members.
    This file was missed in 3d0d5b21
    
    Fixes:          3d0d5b21 ("IfAPI: Explicitly include <net/if_private.h>...")
    Sponsored by:   Juniper Networks, Inc.
---
 sys/netinet6/ip6_input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index ff1402faac69..23550acb1fcd 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -95,6 +95,7 @@ __FBSDID("$FreeBSD$");
 #include <net/if.h>
 #include <net/if_var.h>
 #include <net/if_types.h>
+#include <net/if_private.h>
 #include <net/if_dl.h>
 #include <net/route.h>
 #include <net/netisr.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303241549.32OFnD1c078753>