summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-23 16:03:04 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-23 16:03:04 +0000
commit3a553c9f38fd2cbb3a2a70e990104dbc95ccb5a7 (patch)
tree4655c6a21a04c343bb2b8bb8ed0d0b9070fb91a9 /sys/netmpls
parent114f984d932b1f6810293178a80279f30cd2bd27 (diff)
Make this compile again, by adding a struct proc * argument
to the usrreq's. (Both MPLS and NETATALK are disabled in GENERIC).
Diffstat (limited to 'sys/netmpls')
-rw-r--r--sys/netmpls/mpls.h4
-rw-r--r--sys/netmpls/mpls_raw.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h
index e6b6eecc1d1..8858864d74b 100644
--- a/sys/netmpls/mpls.h
+++ b/sys/netmpls/mpls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls.h,v 1.10 2008/05/09 15:08:36 claudio Exp $ */
+/* $OpenBSD: mpls.h,v 1.11 2008/05/23 16:03:03 thib Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -154,7 +154,7 @@ void mpe_input(struct mbuf *, struct ifnet *, struct sockaddr_mpls *,
u_int32_t);
extern int mpls_raw_usrreq(struct socket *, int, struct mbuf *,
- struct mbuf *, struct mbuf *);
+ struct mbuf *, struct mbuf *, struct proc *);
extern struct ifqueue mplsintrq; /* MPLS input queue */
extern int mplsqmaxlen; /* MPLS input queue length */
diff --git a/sys/netmpls/mpls_raw.c b/sys/netmpls/mpls_raw.c
index 75d41a8057c..1f3257cb7ab 100644
--- a/sys/netmpls/mpls_raw.c
+++ b/sys/netmpls/mpls_raw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls_raw.c,v 1.2 2008/04/23 11:22:23 norby Exp $ */
+/* $OpenBSD: mpls_raw.c,v 1.3 2008/05/23 16:03:03 thib Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -78,7 +78,7 @@ mpls_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp)
int
mpls_raw_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
- struct mbuf *control)
+ struct mbuf *control, struct proc *p)
{
int error = 0;