summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-04-19 15:21:54 +0000
committerbluhm <bluhm@openbsd.org>2017-04-19 15:21:54 +0000
commit9b6a64127deb1b83dcff3be06f373dc1b5768659 (patch)
treeff4da2e8a92f18a35edd5325b6a48e6b79700f28 /sys/netinet/tcp_subr.c
parentUpdate to terminfo.src 2017-04-01. (diff)
downloadwireguard-openbsd-9b6a64127deb1b83dcff3be06f373dc1b5768659.tar.xz
wireguard-openbsd-9b6a64127deb1b83dcff3be06f373dc1b5768659.zip
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);