aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-08-28 20:06:02 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-08-28 20:06:02 +0000
commit3ef94f2b72ac17700f8de8b8fb8d403d15c56da6 (patch)
tree09f788d8608445b924626fff925bd963c42f6a0b /sys/contrib
parentc291f85f32d4af82e41ff8f6fcaea7593d70df5f (diff)
Notes
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/altq/altq/altq_subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c
index 32107e57d369..edacc0d4b1ee 100644
--- a/sys/contrib/altq/altq/altq_subr.c
+++ b/sys/contrib/altq/altq/altq_subr.c
@@ -462,8 +462,8 @@ tbr_timeout(arg)
s = splimp();
#endif
#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000)
- IFNET_RLOCK();
- VNET_LIST_RLOCK();
+ IFNET_RLOCK_NOSLEEP();
+ VNET_LIST_RLOCK_NOSLEEP();
VNET_FOREACH(vnet_iter) {
CURVNET_SET(vnet_iter);
#endif
@@ -480,8 +480,8 @@ tbr_timeout(arg)
#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000)
CURVNET_RESTORE();
}
- VNET_LIST_RUNLOCK();
- IFNET_RUNLOCK();
+ VNET_LIST_RUNLOCK_NOSLEEP();
+ IFNET_RUNLOCK_NOSLEEP();
#endif
splx(s);
if (active > 0)