Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2020 03:39:11 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356750 - head/sys/kern
Message-ID:  <202001150339.00F3dBch022004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Wed Jan 15 03:39:11 2020
New Revision: 356750
URL: https://svnweb.freebsd.org/changeset/base/356750

Log:
  Since this code uses if_ref()/if_rele() it must include if_var.h
  explicitly, not via header pollution.

Modified:
  head/sys/kern/uipc_ktls.c

Modified: head/sys/kern/uipc_ktls.c
==============================================================================
--- head/sys/kern/uipc_ktls.c	Wed Jan 15 03:35:57 2020	(r356749)
+++ head/sys/kern/uipc_ktls.c	Wed Jan 15 03:39:11 2020	(r356750)
@@ -54,6 +54,8 @@ __FBSDID("$FreeBSD$");
 #include <machine/pcb.h>
 #endif
 #include <machine/vmparam.h>
+#include <net/if.h>
+#include <net/if_var.h>
 #ifdef RSS
 #include <net/netisr.h>
 #include <net/rss_config.h>



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