From 9fc39494fa78f89bd82623ebc2cd3971557d86b0 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 2 Jan 2000 05:28:25 +0000 Subject: do in6_if_up() at splsoftnet() instead of splimp(), permitting device-related interrupts during that time. It is believed this is safe --- sys/net/if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index f71b67d253b..0e9b28c799a 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.26 1999/12/18 22:03:43 angelos Exp $ */ +/* $OpenBSD: if.c,v 1.27 2000/01/02 05:28:24 deraadt Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -806,7 +806,7 @@ ifioctl(so, cmd, data, p) if (((oif_flags ^ ifp->if_flags) & IFF_UP) != 0) { #ifdef INET6 if ((ifp->if_flags & IFF_UP) != 0) { - int s = splimp(); + int s = splsoftnet(); in6_if_up(ifp); splx(s); } -- cgit v1.2.3