Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/net curproc ==> curproc->l_proc



details:   https://anonhg.NetBSD.org/src/rev/9fdb4c041cc3
branches:  nathanw_sa
changeset: 505529:9fdb4c041cc3
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Wed Jan 09 02:54:45 2002 +0000

description:
curproc ==> curproc->l_proc

diffstat:

 sys/net/if_pppoe.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 14af4051733f -r 9fdb4c041cc3 sys/net/if_pppoe.c
--- a/sys/net/if_pppoe.c        Wed Jan 09 02:53:57 2002 +0000
+++ b/sys/net/if_pppoe.c        Wed Jan 09 02:54:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pppoe.c,v 1.3.2.6 2002/01/08 00:33:52 nathanw Exp $ */
+/* $NetBSD: if_pppoe.c,v 1.3.2.7 2002/01/09 02:54:45 nathanw Exp $ */
 
 /*
  * Copyright (c) 2001 Martin Husemann. All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.3.2.6 2002/01/08 00:33:52 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.3.2.7 2002/01/09 02:54:45 nathanw Exp $");
 
 #include "pppoe.h"
 #include "bpfilter.h"
@@ -39,6 +39,7 @@
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/socket.h>
+#include <sys/lwp.h>
 #include <sys/proc.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
@@ -617,7 +618,7 @@
 static int
 pppoe_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data)
 {
-       struct proc *p = curproc;       /* XXX */
+       struct proc *p = curproc->l_proc;       /* XXX */
        struct pppoe_softc *sc = (struct pppoe_softc*)ifp;
        int error = 0;
 



Home | Main Index | Thread Index | Old Index