git: bb55bb1740d2 - main - inet6: Include if_private.h in one more netstack file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Mar 2023 15:49:13 UTC
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>