PERFORCE change 43685 for review

Sam Leffler sam at FreeBSD.org
Tue Dec 9 10:22:44 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=43685

Change 43685 by sam at sam_ebb on 2003/12/09 10:22:04

	IFC

Affected files ...

.. //depot/projects/netperf+sockets/sys/kern/uipc_socket2.c#3 integrate

Differences ...

==== //depot/projects/netperf+sockets/sys/kern/uipc_socket2.c#3 (text+ko) ====

@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/kern/uipc_socket2.c,v 1.115 2003/10/21 18:28:35 silby Exp $");
+__FBSDID("$FreeBSD: src/sys/kern/uipc_socket2.c,v 1.118 2003/11/18 00:39:03 rwatson Exp $");
 
 #include "opt_mac.h"
 #include "opt_param.h"
@@ -363,7 +363,7 @@
 {
 	SOCKBUF_LOCK_ASSERT(sb);
 
-	selwakeup(&sb->sb_sel);
+	selwakeuppri(&sb->sb_sel, PSOCK);
 	sb->sb_flags &= ~SB_SEL;
 	if (sb->sb_flags & SB_WAIT) {
 		sb->sb_flags &= ~SB_WAIT;
@@ -1285,6 +1285,16 @@
 }
 
 /*
+ * For protocol types that don't keep cached copies of labels in their
+ * pcbs, provide a null sosetlabel that does a NOOP.
+ */
+void
+pru_sosetlabel_null(struct socket *so)
+{
+
+}
+
+/*
  * Make a copy of a sockaddr in a malloced buffer of type M_SONAME.
  */
 struct sockaddr *


More information about the p4-projects mailing list