Date: Thu, 21 Jun 2012 09:12:33 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r237364 - projects/pf/head/sys/contrib/pf/net Message-ID: <201206210912.q5L9CXpt001296@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Thu Jun 21 09:12:33 2012 New Revision: 237364 URL: http://svn.freebsd.org/changeset/base/237364 Log: Finish what leaked into r237363: - remove the sx lock for pf_ioctl(). I believe correct use of PF_RULES_WLOCK() is sufficient to protect concurrent ioctl() calls from each other. - inline init_pf_mutex/destroy_pf_mutex. Modified: projects/pf/head/sys/contrib/pf/net/pf.c Modified: projects/pf/head/sys/contrib/pf/net/pf.c ============================================================================== --- projects/pf/head/sys/contrib/pf/net/pf.c Thu Jun 21 09:08:11 2012 (r237363) +++ projects/pf/head/sys/contrib/pf/net/pf.c Thu Jun 21 09:12:33 2012 (r237364) @@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$"); #include <sys/proc.h> #include <sys/kthread.h> #include <sys/lock.h> -#include <sys/sx.h> #include <sys/taskqueue.h> #include <sys/md5.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206210912.q5L9CXpt001296>