[Glibc-bsd-commits] r4172 - trunk/kfreebsd-kernel-headers/debian/patches

Robert Millan rmh at alioth.debian.org
Wed Apr 4 14:43:06 UTC 2012


Author: rmh
Date: 2012-04-04 14:43:06 +0000 (Wed, 04 Apr 2012)
New Revision: 4172

Added:
   trunk/kfreebsd-kernel-headers/debian/patches/hide_inpcbgroup.diff
Log:
Add the new patch which I forgot to commit in rev 4149.

Added: trunk/kfreebsd-kernel-headers/debian/patches/hide_inpcbgroup.diff
===================================================================
--- trunk/kfreebsd-kernel-headers/debian/patches/hide_inpcbgroup.diff	                        (rev 0)
+++ trunk/kfreebsd-kernel-headers/debian/patches/hide_inpcbgroup.diff	2012-04-04 14:43:06 UTC (rev 4172)
@@ -0,0 +1,21 @@
+
+In upstream HEAD (SVN rev 233096)
+
+--- a/sys/netinet/in_pcb.h
++++ b/sys/netinet/in_pcb.h
+@@ -364,6 +364,7 @@
+ 	void 			*ipi_pspare[2];
+ };
+ 
++#ifdef _KERNEL
+ /*
+  * Connection groups hold sets of connections that have similar CPU/thread
+  * affinity.  Each connection belongs to exactly one connection group.
+@@ -406,7 +407,6 @@
+ #define	INP_WLOCK_ASSERT(inp)	rw_assert(&(inp)->inp_lock, RA_WLOCKED)
+ #define	INP_UNLOCK_ASSERT(inp)	rw_assert(&(inp)->inp_lock, RA_UNLOCKED)
+ 
+-#ifdef _KERNEL
+ /*
+  * These locking functions are for inpcb consumers outside of sys/netinet,
+  * more specifically, they were added for the benefit of TOE drivers. The




More information about the Glibc-bsd-commits mailing list