Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 03:49:18 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r282807 - stable/10/sys/netinet6
Message-ID:  <201505120349.t4C3nI03081818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Tue May 12 03:49:18 2015
New Revision: 282807
URL: https://svnweb.freebsd.org/changeset/base/282807

Log:
  MFC r274223 (by glebius):
  
    Remove VNET_SYSCTL_ARG(). The generic sysctl(9) code handles that.
  
  A panic could occur by "sysctl -a" when using VIMAGE-enabled stable/10
  kernel after r262734 because of this missing MFC.

Modified:
  stable/10/sys/netinet6/in6_proto.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet6/in6_proto.c
==============================================================================
--- stable/10/sys/netinet6/in6_proto.c	Tue May 12 03:35:45 2015	(r282806)
+++ stable/10/sys/netinet6/in6_proto.c	Tue May 12 03:49:18 2015	(r282807)
@@ -474,8 +474,6 @@ sysctl_ip6_temppltime(SYSCTL_HANDLER_ARG
 	int error = 0;
 	int old;
 
-	VNET_SYSCTL_ARG(req, arg1);
-
 	error = SYSCTL_OUT(req, arg1, sizeof(int));
 	if (error || !req->newptr)
 		return (error);
@@ -495,8 +493,6 @@ sysctl_ip6_tempvltime(SYSCTL_HANDLER_ARG
 	int error = 0;
 	int old;
 
-	VNET_SYSCTL_ARG(req, 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?201505120349.t4C3nI03081818>