Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 14:39:16 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187688 - head/sys/contrib/pf/net
Message-ID:  <200901251439.n0PEdGjg020152@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Jan 25 14:39:15 2009
New Revision: 187688
URL: http://svn.freebsd.org/changeset/base/187688

Log:
  Remove pfopen() and pfclose() entirely.
  
  It turns out I was patching functions that weren't used by pf(4) anyway.
  They still seem to use `struct proc *' instead of `struct thread *'.
  They weren't listed in pf_cdevsw.

Modified:
  head/sys/contrib/pf/net/pf_ioctl.c

Modified: head/sys/contrib/pf/net/pf_ioctl.c
==============================================================================
--- head/sys/contrib/pf/net/pf_ioctl.c	Sun Jan 25 14:00:00 2009	(r187687)
+++ head/sys/contrib/pf/net/pf_ioctl.c	Sun Jan 25 14:39:15 2009	(r187688)
@@ -477,18 +477,6 @@ pf_thread_create(void *v)
 	if (kproc_create(pf_purge_thread, NULL, NULL, "pfpurge"))
 		panic("pfpurge thread");
 }
-
-int
-pfopen(struct cdev *dev, int flags, int fmt, struct proc *p)
-{
-	return (0);
-}
-
-int
-pfclose(struct cdev *dev, int flags, int fmt, struct proc *p)
-{
-	return (0);
-}
 #endif /* __FreeBSD__ */
 
 struct pf_pool *



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