summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-03-25 15:12:12 +0000
committerpjd <pjd@FreeBSD.org>2004-03-25 15:12:12 +0000
commit89f5b6c374a428764f3f2b3d77d7d9fc228a4c99 (patch)
tree2e8ab15bde0200f51d370e23b4fc6820f1ebe131 /sys/netinet/in_pcb.c
parent6ebcbbb486be9aa4e5bd09a83d669ee852da2894 (diff)
downloadFreeBSD-src-89f5b6c374a428764f3f2b3d77d7d9fc228a4c99.zip
FreeBSD-src-89f5b6c374a428764f3f2b3d77d7d9fc228a4c99.tar.gz
Remove unused function.
It was used in FreeBSD 4.x, but now we're using cr_canseesocket().
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 26b91a3..0591dd4 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1180,13 +1180,3 @@ in_pcbsosetlabel(so)
INP_UNLOCK(inp);
#endif
}
-
-int
-prison_xinpcb(struct thread *td, struct inpcb *inp)
-{
- if (!jailed(td->td_ucred))
- return (0);
- if (ntohl(inp->inp_laddr.s_addr) == prison_getip(td->td_ucred))
- return (0);
- return (1);
-}
OpenPOWER on IntegriCloud