Module Name:    src
Committed By:   ozaki-r
Date:           Mon Aug 27 04:53:24 UTC 2018

Modified Files:
        src/sys/net: if.c

Log Message:
Restore splx removed accidentally at v1.406

Pointed out by k-goda@IIJ


To generate a diff of this commit:
cvs rdiff -u -r1.433 -r1.434 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.433 src/sys/net/if.c:1.434
--- src/sys/net/if.c:1.433	Fri Aug 10 10:31:01 2018
+++ src/sys/net/if.c	Mon Aug 27 04:53:24 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.433 2018/08/10 10:31:01 knakahara Exp $	*/
+/*	$NetBSD: if.c,v 1.434 2018/08/27 04:53:24 ozaki-r Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.433 2018/08/10 10:31:01 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.434 2018/08/27 04:53:24 ozaki-r Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -2326,6 +2326,7 @@ if_link_state_change_softint(struct ifne
 	/* Ensure the change is still valid. */
 	if (ifp->if_link_state == link_state) {
 		IF_LINK_STATE_CHANGE_UNLOCK(ifp);
+		splx(s);
 		return;
 	}
 

Reply via email to