diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-02 05:28:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-02 05:28:25 +0000 |
commit | 9fc39494fa78f89bd82623ebc2cd3971557d86b0 (patch) | |
tree | a3ad0e62254be6c807cbcdb1abaee1d6570b827e /sys/net/if.c | |
parent | 528d69ddd299c41863a7e712d40b623440b22a16 (diff) |
do in6_if_up() at splsoftnet() instead of splimp(), permitting device-related interrupts during that time. It is believed this is safe
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |