Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/net/lib/libsockin Revert previous: it introduces a ...



details:   https://anonhg.NetBSD.org/src/rev/b20249191fce
branches:  trunk
changeset: 759319:b20249191fce
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 05 17:59:12 2010 +0000

description:
Revert previous: it introduces a dependency between sockin and the
netinet rump components and will have to be done another way.

diffstat:

 sys/rump/net/lib/libsockin/sockin.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r 4f84d4236569 -r b20249191fce sys/rump/net/lib/libsockin/sockin.c
--- a/sys/rump/net/lib/libsockin/sockin.c       Sun Dec 05 17:45:08 2010 +0000
+++ b/sys/rump/net/lib/libsockin/sockin.c       Sun Dec 05 17:59:12 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $        */
+/*     $NetBSD: sockin.c,v 1.24 2010/12/05 17:59:12 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.23 2010/12/05 15:54:50 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.24 2010/12/05 17:59:12 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/condvar.h>
@@ -49,7 +49,6 @@
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
-#include <netinet/in_var.h>
 
 #include <rump/rumpuser.h>
 
@@ -491,10 +490,6 @@
                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);
        }



Home | Main Index | Thread Index | Old Index