Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2019 10:06:54 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350532 - head/sys/netinet6
Message-ID:  <201908021006.x72A6smN041745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Fri Aug  2 10:06:54 2019
New Revision: 350532
URL: https://svnweb.freebsd.org/changeset/base/350532

Log:
  frag6.c: sort includes
  
  Sort includes and remove duplicate kernel.h as well as the unneeded
  systm.h.
  Hide the mac framework incude behind #fidef MAC.
  
  MFC after:		3 months
  Sponsored by:		Netflix

Modified:
  head/sys/netinet6/frag6.c

Modified: head/sys/netinet6/frag6.c
==============================================================================
--- head/sys/netinet6/frag6.c	Fri Aug  2 07:41:36 2019	(r350531)
+++ head/sys/netinet6/frag6.c	Fri Aug  2 10:06:54 2019	(r350532)
@@ -37,18 +37,16 @@ __FBSDID("$FreeBSD$");
 #include "opt_rss.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/hash.h>
-#include <sys/malloc.h>
-#include <sys/mbuf.h>
 #include <sys/domain.h>
+#include <sys/errno.h>
 #include <sys/eventhandler.h>
+#include <sys/hash.h>
 #include <sys/kernel.h>
+#include <sys/malloc.h>
+#include <sys/mbuf.h>
 #include <sys/protosw.h>
 #include <sys/socket.h>
-#include <sys/errno.h>
 #include <sys/time.h>
-#include <sys/kernel.h>
 #include <sys/syslog.h>
 
 #include <machine/atomic.h>
@@ -67,7 +65,9 @@ __FBSDID("$FreeBSD$");
 #include <netinet/in_systm.h>	/* for ECN definitions */
 #include <netinet/ip.h>		/* for ECN definitions */
 
+#ifdef MAC
 #include <security/mac/mac_framework.h>
+#endif
 
 /*
  * Reassembly headers are stored in hash buckets.



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