Module Name:    src
Committed By:   pooka
Date:           Sun Dec  5 15:54:50 UTC 2010

Modified Files:
        src/sys/rump/net/lib/libsockin: sockin.c

Log Message:
use in_control() for PRU_CONTROL


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/rump/net/lib/libsockin/sockin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libsockin/sockin.c
diff -u src/sys/rump/net/lib/libsockin/sockin.c:1.22 src/sys/rump/net/lib/libsockin/sockin.c:1.23
--- src/sys/rump/net/lib/libsockin/sockin.c:1.22	Mon Apr  5 07:22:50 2010
+++ src/sys/rump/net/lib/libsockin/sockin.c	Sun Dec  5 15:54:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sockin.c,v 1.22 2010/04/05 07:22:50 joerg Exp $	*/
+/*	$NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008, 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.22 2010/04/05 07:22:50 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/condvar.h>
@@ -49,6 +49,7 @@
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
+#include <netinet/in_var.h>
 
 #include <rump/rumpuser.h>
 
@@ -490,6 +491,10 @@
 		break;
 	}
 
+	case PRU_CONTROL:
+		return in_control(so, (long)m, (void *)nam,
+		    (struct ifnet *)control, l);
+
 	default:
 		panic("sockin_usrreq: IMPLEMENT ME, req %d not supported", req);
 	}

Reply via email to