Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2009 08:01:18 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 160730 for review
Message-ID:  <200904170801.n3H81IQJ074207@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=160730

Change 160730 by zec@zec_amdx2 on 2009/04/17 08:00:38

	Add the missing macros for resolving offsets in vnet
	containers to real addresses into two forgotten sysctl
	handlers.
	
	"sysctl net" output from GENERIC and VIMAGE (modulo SCTP which
	is not yet compilable with VIMAGE) is now completely in sync.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/netinet6/in6_proto.c#21 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/netinet6/in6_proto.c#21 (text+ko) ====

@@ -446,6 +446,8 @@
 	int error = 0;
 	int old;
 
+	SYSCTL_RESOLVE_V_ARG1();
+
 	error = SYSCTL_OUT(req, arg1, sizeof(int));
 	if (error || !req->newptr)
 		return (error);
@@ -466,6 +468,8 @@
 	int error = 0;
 	int old;
 
+	SYSCTL_RESOLVE_V_ARG1();
+
 	error = SYSCTL_OUT(req, arg1, sizeof(int));
 	if (error || !req->newptr)
 		return (error);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904170801.n3H81IQJ074207>