Source-Changes-HG archive

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

[src/trunk]: src/sys/net make ifioctl() compat lkm friendly.



details:   https://anonhg.NetBSD.org/src/rev/ac1147f44cbc
branches:  trunk
changeset: 510844:ac1147f44cbc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 07 13:26:48 2001 +0000

description:
make ifioctl() compat lkm friendly.

diffstat:

 sys/net/if.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f601eb9577db -r ac1147f44cbc sys/net/if.c
--- a/sys/net/if.c      Thu Jun 07 13:17:09 2001 +0000
+++ b/sys/net/if.c      Thu Jun 07 13:26:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.89 2001/06/02 16:17:08 thorpej Exp $  */
+/*     $NetBSD: if.c,v 1.90 2001/06/07 13:26:48 mrg Exp $      */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -1305,7 +1305,7 @@
        default:
                if (so->so_proto == 0)
                        return (EOPNOTSUPP);
-#if !defined(COMPAT_43) && !defined(COMPAT_LINUX) && !defined(COMPAT_SVR4)
+#if !defined(COMPAT_43) && !defined(COMPAT_LINUX) && !defined(COMPAT_SVR4) && !defined(LKM)
                error = ((*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
                    (struct mbuf *)cmd, (struct mbuf *)data,
                    (struct mbuf *)ifp, p));



Home | Main Index | Thread Index | Old Index