summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-11-22 04:50:44 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-11-22 04:50:44 +0000
commitbe2ac88c59ecd9c64240df8d72fcef339fe9aed4 (patch)
tree7e69286bc240807dcaf2ce9e68a4bb59848d76df /sys/netinet/tcp_usrreq.c
parent60a31b3ae1f6d19f5b52e8ee469df9b1d4ecf2e6 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 2485a913e9a4..e3a35d753aa2 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -765,7 +765,7 @@ tcp_connect(tp, nam, td)
* Generate a CC value for this connection and
* check whether CC or CCnew should be used.
*/
- if ((taop = tcp_gettaocache(tp->t_inpcb)) == NULL) {
+ if ((taop = tcp_gettaocache(&tp->t_inpcb->inp_inc)) == NULL) {
taop = &tao_noncached;
bzero(taop, sizeof(*taop));
}
@@ -851,7 +851,7 @@ tcp6_connect(tp, nam, td)
* Generate a CC value for this connection and
* check whether CC or CCnew should be used.
*/
- if ((taop = tcp_gettaocache(tp->t_inpcb)) == NULL) {
+ if ((taop = tcp_gettaocache(&tp->t_inpcb->inp_inc)) == NULL) {
taop = &tao_noncached;
bzero(taop, sizeof(*taop));
}