Revert previous: it introduces a dependency between sockin and the

netinet rump components and will have to be done another way.
This commit is contained in:
pooka 2010-12-05 17:59:12 +00:00
parent 843bb51b69
commit fdb9b6e9bf
1 changed files with 2 additions and 7 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $");
#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 @@ sockin_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
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);
}