Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Restore splx removed accidentally at v1.406
details: https://anonhg.NetBSD.org/src/rev/81f43f793d41
branches: trunk
changeset: 364146:81f43f793d41
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Aug 27 04:53:24 2018 +0000
description:
Restore splx removed accidentally at v1.406
Pointed out by k-goda@IIJ
diffstat:
sys/net/if.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5422ae5f92b2 -r 81f43f793d41 sys/net/if.c
--- a/sys/net/if.c Mon Aug 27 01:34:39 2018 +0000
+++ b/sys/net/if.c Mon Aug 27 04:53:24 2018 +0000
@@ -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 @@
/* Ensure the change is still valid. */
if (ifp->if_link_state == link_state) {
IF_LINK_STATE_CHANGE_UNLOCK(ifp);
+ splx(s);
return;
}
Home |
Main Index |
Thread Index |
Old Index