diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
| commit | a854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch) | |
| tree | de74317436bc6bf8211535e1dbda3f6762d05582 /sys/netinet/tcp_usrreq.c | |
| parent | 65e3406d28b159fab93b499d25ed079b2c978ff7 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
| -rw-r--r-- | sys/netinet/tcp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index e3a35d753aa2..c3aa59fbb138 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -330,8 +330,8 @@ tcp_usr_connect(struct socket *so, struct sockaddr *nam, struct thread *td) goto out; } - if (td && jailed(td->td_proc->p_ucred)) - prison_remote_ip(td->td_proc->p_ucred, 0, &sinp->sin_addr.s_addr); + if (td && jailed(td->td_ucred)) + prison_remote_ip(td->td_ucred, 0, &sinp->sin_addr.s_addr); if ((error = tcp_connect(tp, nam, td)) != 0) goto out; |
