summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_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/netinet/in_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/netinet/in_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index b72d1e5..d412843 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -452,7 +452,7 @@ void in_pcbfree(struct inpcb *);
int in_pcbinshash(struct inpcb *);
struct inpcb *
in_pcblookup_local(struct inpcbinfo *,
- struct in_addr, u_short, int);
+ struct in_addr, u_short, int, struct ucred *);
struct inpcb *
in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int,
struct in_addr, u_int, int, struct ifnet *);
OpenPOWER on IntegriCloud