[Midnightbsd-cvs] src [9933] trunk/sys/netgraph/atm/sscfu: sync with freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri May 25 16:03:23 EDT 2018


Revision: 9933
          http://svnweb.midnightbsd.org/src/?rev=9933
Author:   laffer1
Date:     2018-05-25 16:03:22 -0400 (Fri, 25 May 2018)
Log Message:
-----------
sync with freebsd

Modified Paths:
--------------
    trunk/sys/netgraph/atm/sscfu/ng_sscfu.c
    trunk/sys/netgraph/atm/sscfu/ng_sscfu_cust.h

Modified: trunk/sys/netgraph/atm/sscfu/ng_sscfu.c
===================================================================
--- trunk/sys/netgraph/atm/sscfu/ng_sscfu.c	2018-05-25 20:03:07 UTC (rev 9932)
+++ trunk/sys/netgraph/atm/sscfu/ng_sscfu.c	2018-05-25 20:03:22 UTC (rev 9933)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2001-2003
  *	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
@@ -30,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: stable/10/sys/netgraph/atm/sscfu/ng_sscfu.c 241686 2012-10-18 13:57:24Z andre $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -587,10 +588,8 @@
 static int
 ng_sscfu_mod_event(module_t mod, int event, void *data)
 {
-	int s;
 	int error = 0;
 
-	s = splnet();
 	switch (event) {
 
 	  case MOD_LOAD:
@@ -603,6 +602,5 @@
 		error = EOPNOTSUPP;
 		break;
 	}
-	splx(s);
 	return (error);
 }

Modified: trunk/sys/netgraph/atm/sscfu/ng_sscfu_cust.h
===================================================================
--- trunk/sys/netgraph/atm/sscfu/ng_sscfu_cust.h	2018-05-25 20:03:07 UTC (rev 9932)
+++ trunk/sys/netgraph/atm/sscfu/ng_sscfu_cust.h	2018-05-25 20:03:22 UTC (rev 9933)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2001-2003
  *	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
@@ -28,7 +29,7 @@
  *
  * Customisation of the SSCFU code to ng_sscfu.
  *
- * $FreeBSD$
+ * $FreeBSD: stable/10/sys/netgraph/atm/sscfu/ng_sscfu_cust.h 184205 2008-10-23 15:53:51Z des $
  */
 #include <sys/param.h>
 #include <sys/types.h>



More information about the Midnightbsd-cvs mailing list