summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6_pcb.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-07-10 13:31:11 +0000
committerbz <bz@FreeBSD.org>2008-07-10 13:31:11 +0000
commit362cb79214c7ca17170d1530859aaf180e618d75 (patch)
tree465d7c3dd198bb4a6aefe767a4b80dc63c877b5a /sys/netinet6/in6_pcb.h
parent3881e50cbab0a113c2b83bf15fd896c969e4224e (diff)
downloadFreeBSD-src-362cb79214c7ca17170d1530859aaf180e618d75.zip
FreeBSD-src-362cb79214c7ca17170d1530859aaf180e618d75.tar.gz
Pass the ucred along into in{,6}_pcblookup_local for upcoming
prison checks. Reviewed by: rwatson
Diffstat (limited to 'sys/netinet6/in6_pcb.h')
-rw-r--r--sys/netinet6/in6_pcb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.h b/sys/netinet6/in6_pcb.h
index 83551b5..c1e2107 100644
--- a/sys/netinet6/in6_pcb.h
+++ b/sys/netinet6/in6_pcb.h
@@ -80,7 +80,8 @@ int in6_pcbladdr __P((struct inpcb *, struct sockaddr *,
struct in6_addr **));
struct inpcb *
in6_pcblookup_local __P((struct inpcbinfo *,
- struct in6_addr *, u_short, int));
+ struct in6_addr *, u_short, int,
+ struct ucred *));
struct inpcb *
in6_pcblookup_hash __P((struct inpcbinfo *,
struct in6_addr *, u_int, struct in6_addr *,
OpenPOWER on IntegriCloud