Use the correct INIT_VNET_INET() as the virtualized variable here

are in vinet.h not in vinet6.h

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Bjoern A. Zeeb 2008-12-11 16:05:07 +00:00
parent 660f08b291
commit 0750c2ed96

View File

@ -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;