summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-19 15:21:55 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-19 15:21:55 +0000
commit3c74bbd95f27b43502ef7e7923c49587fff96320 (patch)
tree6a48c468cebe98a8a4309b290a0b3bcaf433455d /sys/netinet/tcp_subr.c
parentc12beea5d405e19d16a51f1973d8aa82ad6a5004 (diff)
Use the rt_rmx defines that hide the struct rt_kmetrics indirection.
No binary change. OK mpi@
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index fac36f32b37..931b8ec3d59 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.160 2017/02/09 15:19:32 jca Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.161 2017/04/19 15:21:54 bluhm Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -884,7 +884,7 @@ tcp_mtudisc(struct inpcb *inp, int errno)
return;
}
if (orig_maxseg != tp->t_maxseg ||
- (rt->rt_rmx.rmx_locks & RTV_MTU))
+ (rt->rt_locks & RTV_MTU))
change = 1;
}
tcp_mss(tp, -1);