svn commit: r187688 - head/sys/contrib/pf/net

Ed Schouten ed at FreeBSD.org
Sun Jan 25 06:39:17 PST 2009


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 *


More information about the svn-src-all mailing list