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 claim ENOTTY for PRU_CONTROL for now



details:   https://anonhg.NetBSD.org/src/rev/8aef2a233ae6
branches:  trunk
changeset: 759320:8aef2a233ae6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 05 18:01:46 2010 +0000

description:
claim ENOTTY for PRU_CONTROL for now

diffstat:

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

diffs (29 lines):

diff -r b20249191fce -r 8aef2a233ae6 sys/rump/net/lib/libsockin/sockin.c
--- a/sys/rump/net/lib/libsockin/sockin.c       Sun Dec 05 17:59:12 2010 +0000
+++ b/sys/rump/net/lib/libsockin/sockin.c       Sun Dec 05 18:01:46 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sockin.c,v 1.24 2010/12/05 17:59:12 pooka Exp $        */
+/*     $NetBSD: sockin.c,v 1.25 2010/12/05 18:01:46 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.24 2010/12/05 17:59:12 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.25 2010/12/05 18:01:46 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/condvar.h>
@@ -490,6 +490,10 @@
                break;
        }
 
+       case PRU_CONTROL:
+               error = ENOTTY;
+               break;
+
        default:
                panic("sockin_usrreq: IMPLEMENT ME, req %d not supported", req);
        }



Home | Main Index | Thread Index | Old Index