diff options
author | 2006-03-04 22:40:15 +0000 | |
---|---|---|
committer | 2006-03-04 22:40:15 +0000 | |
commit | aaed91e5ef42bd30ba3177914c849703310a8bc1 (patch) | |
tree | d3dfc90d75405e26b2cdca7e11dde2ea26c23fca /sys/net/pf_ioctl.c | |
parent | | -> || (diff) | |
download | wireguard-openbsd-aaed91e5ef42bd30ba3177914c849703310a8bc1.tar.xz wireguard-openbsd-aaed91e5ef42bd30ba3177914c849703310a8bc1.zip |
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/pf_ioctl.c')
-rw-r--r-- | sys/net/pf_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index 01cddc4a740..ca3674c4ebc 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.164 2006/01/06 00:41:21 dhartmei Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.165 2006/03/04 22:40:16 brad Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -920,7 +920,7 @@ pf_enable_altq(struct pf_altq *altq) if (error == 0 && ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) { tb.rate = altq->ifbandwidth; tb.depth = altq->tbrsize; - s = splimp(); + s = splnet(); error = tbr_set(&ifp->if_snd, &tb); splx(s); } @@ -950,7 +950,7 @@ pf_disable_altq(struct pf_altq *altq) if (error == 0) { /* clear tokenbucket regulator */ tb.rate = 0; - s = splimp(); + s = splnet(); error = tbr_set(&ifp->if_snd, &tb); splx(s); } |