Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 17:32:11 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r243412 - user/andre/tcp_workqueue/sys/net
Message-ID:  <201211221732.qAMHWBmS032118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andre
Date: Thu Nov 22 17:32:10 2012
New Revision: 243412
URL: http://svnweb.freebsd.org/changeset/base/243412

Log:
  Remove bitrot linux and win32 ifdef from struct pfil_head.

Modified:
  user/andre/tcp_workqueue/sys/net/pfil.h

Modified: user/andre/tcp_workqueue/sys/net/pfil.h
==============================================================================
--- user/andre/tcp_workqueue/sys/net/pfil.h	Thu Nov 22 17:26:28 2012	(r243411)
+++ user/andre/tcp_workqueue/sys/net/pfil.h	Thu Nov 22 17:32:10 2012	(r243412)
@@ -80,13 +80,9 @@ struct pfil_head {
 	pfil_list_t	ph_out;
 	int		ph_type;
 	int		ph_nhooks;
-#if defined( __linux__ ) || defined( _WIN32 )
-	rwlock_t	ph_mtx;
-#else
 	struct rmlock	*ph_plock;	/* Pointer to the used lock */
 	struct rmlock	ph_lock;	/* Private lock storage */
 	int		flags;
-#endif
 	union {
 		u_long		phu_val;
 		void		*phu_ptr;



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