diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-03-04 22:40:17 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-03-04 22:40:17 +0000 |
commit | b751ff7496fc73fe22ed7d0c2371837c4c2aed2c (patch) | |
tree | bd1ae2cb58e37d25f97c0e7f581ad0b9035bf683 /sys/net/if_pppoe.c | |
parent | 15e7a983128283f9a61840e1ed37255bb4ada6fe (diff) |
With the exception of two other small uncommited diffs this moves
the remainder of the network stack from splimp to splnet.
ok miod@
Diffstat (limited to 'sys/net/if_pppoe.c')
-rw-r--r-- | sys/net/if_pppoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c index f93a590f574..413e8082dfe 100644 --- a/sys/net/if_pppoe.c +++ b/sys/net/if_pppoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppoe.c,v 1.6 2006/01/04 06:04:42 canacar Exp $ */ +/* $OpenBSD: if_pppoe.c,v 1.7 2006/03/04 22:40:15 brad Exp $ */ /* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */ /* @@ -259,7 +259,7 @@ pppoe_clone_create(struct if_clone *ifc, int unit) bpfattach(&sc->sc_sppp.pp_if.if_bpf, &sc->sc_sppp.pp_if, DLT_PPP_ETHER, 0); #endif - s = splimp(); + s = splnet(); LIST_INSERT_HEAD(&pppoe_softc_list, sc, sc_list); splx(s); @@ -273,7 +273,7 @@ pppoe_clone_destroy(struct ifnet *ifp) struct pppoe_softc *sc = ifp->if_softc; int s; - s = splimp(); + s = splnet(); LIST_REMOVE(sc, sc_list); timeout_del(&sc->sc_timeout); splx(s); |