PERFORCE change 160730 for review

Marko Zec zec at FreeBSD.org
Fri Apr 17 01:01:20 PDT 2009


http://perforce.freebsd.org/chv.cgi?CH=160730

Change 160730 by zec at 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);


More information about the p4-projects mailing list