Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101992912
D31642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
601 B
Referenced Files
None
Subscribers
None
D31642.diff
View Options
diff --git a/sys/net/altq/altq_rmclass.c b/sys/net/altq/altq_rmclass.c
--- a/sys/net/altq/altq_rmclass.c
+++ b/sys/net/altq/altq_rmclass.c
@@ -1554,10 +1554,13 @@
{
struct rm_class *cl = arg;
struct rm_ifdat *ifd = cl->ifdat_;
+ struct epoch_tracker et;
int s;
s = splnet();
+ NET_EPOCH_ENTER(et);
IFQ_LOCK(ifd->ifq_);
+ CURVNET_SET(ifd->ifq_->altq_ifp->if_vnet);
if (cl->sleeping_) {
cl->sleeping_ = 0;
cl->undertime_.tv_sec = 0;
@@ -1567,7 +1570,9 @@
(ifd->restart)(ifd->ifq_);
}
}
+ CURVNET_RESTORE();
IFQ_UNLOCK(ifd->ifq_);
+ NET_EPOCH_EXIT(et);
splx(s);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 7:24 AM (22 h, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14506718
Default Alt Text
D31642.diff (601 B)
Attached To
Mode
D31642: altq: Fix panics on rmc_restart()
Attached
Detach File
Event Timeline
Log In to Comment