Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2012 22:17:34 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240112 - head/sys/net
Message-ID:  <201209042217.q84MHYLl027627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Tue Sep  4 22:17:33 2012
New Revision: 240112
URL: http://svn.freebsd.org/changeset/base/240112

Log:
  Fix the build broken by r240099.
  Hide link_pfil_hook under _KERNEL macro.
  
  MFC after:    3 weeks

Modified:
  head/sys/net/if_var.h

Modified: head/sys/net/if_var.h
==============================================================================
--- head/sys/net/if_var.h	Tue Sep  4 22:03:16 2012	(r240111)
+++ head/sys/net/if_var.h	Tue Sep  4 22:17:33 2012	(r240112)
@@ -99,8 +99,10 @@ TAILQ_HEAD(ifaddrhead, ifaddr);	/* insta
 TAILQ_HEAD(ifmultihead, ifmultiaddr);
 TAILQ_HEAD(ifgrouphead, ifg_group);
 
+#ifdef _KERNEL
 VNET_DECLARE(struct pfil_head, link_pfil_hook);	/* packet filter hooks */
 #define	V_link_pfil_hook	VNET(link_pfil_hook)
+#endif /* _KERNEL */
 
 /*
  * Structure defining a queue for a network interface.



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