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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to