Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 06:32:46 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307706 - head/sys/dev/netmap
Message-ID:  <201610210632.u9L6WkIw012840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Fri Oct 21 06:32:45 2016
New Revision: 307706
URL: https://svnweb.freebsd.org/changeset/base/307706

Log:
  netmap: Unbreak LINT-VIMAGE building
  
  Sponsored by:	Microsoft

Modified:
  head/sys/dev/netmap/netmap_freebsd.c

Modified: head/sys/dev/netmap/netmap_freebsd.c
==============================================================================
--- head/sys/dev/netmap/netmap_freebsd.c	Fri Oct 21 06:09:30 2016	(r307705)
+++ head/sys/dev/netmap/netmap_freebsd.c	Fri Oct 21 06:32:45 2016	(r307706)
@@ -27,10 +27,10 @@
 #include "opt_inet.h"
 #include "opt_inet6.h"
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/module.h>
 #include <sys/errno.h>
-#include <sys/param.h>  /* defines used in kernel.h */
+#include <sys/jail.h>
 #include <sys/poll.h>  /* POLLIN, POLLOUT */
 #include <sys/kernel.h> /* types used in module initialization */
 #include <sys/conf.h>	/* DEV_MODULE_ORDERED */
@@ -1407,7 +1407,7 @@ freebsd_netmap_ioctl(struct cdev *dev __
 	int error;
 	struct netmap_priv_d *priv;
 
-	CURVNET_SET(TD_TO_VNET(rd));
+	CURVNET_SET(TD_TO_VNET(td));
 	error = devfs_get_cdevpriv((void **)&priv);
 	if (error) {
 		/* XXX ENOENT should be impossible, since the priv



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