summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-11 16:05:07 +0000
committerbz <bz@FreeBSD.org>2008-12-11 16:05:07 +0000
commit29e59eea1938774f6c9bfaa1ca5e8f78688c1d37 (patch)
treed3db267b1ed01b42d966acc164c0a0b24ba11302
parent160f4765ebc806001eb215709142b3b083b75c15 (diff)
downloadFreeBSD-src-29e59eea1938774f6c9bfaa1ca5e8f78688c1d37.zip
FreeBSD-src-29e59eea1938774f6c9bfaa1ca5e8f78688c1d37.tar.gz
Use the correct INIT_VNET_INET() as the virtualized variable here
are in vinet.h not in vinet6.h Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index bc136b2..207d37a 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -155,7 +155,7 @@ SYSCTL_V_PROC(V_NET, vnet_inet, _net_inet_tcp, TCPCTL_MSSDFLT, mssdflt,
static int
sysctl_net_inet_tcp_mss_v6_check(SYSCTL_HANDLER_ARGS)
{
- INIT_VNET_INET6(curvnet);
+ INIT_VNET_INET(curvnet);
int error, new;
new = V_tcp_v6mssdflt;
OpenPOWER on IntegriCloud