Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140113796
D25788.id75210.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
418 B
Referenced Files
None
Subscribers
None
D25788.id75210.diff
View Options
Index: head/sys/netgraph/ng_iface.c
===================================================================
--- head/sys/netgraph/ng_iface.c
+++ head/sys/netgraph/ng_iface.c
@@ -732,9 +732,11 @@
}
random_harvest_queue(m, sizeof(*m), RANDOM_NET_NG);
M_SETFIB(m, ifp->if_fib);
+ CURVNET_SET(ifp->if_vnet);
NET_EPOCH_ENTER(et);
netisr_dispatch(isr, m);
NET_EPOCH_EXIT(et);
+ CURVNET_RESTORE();
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 10:18 AM (12 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27111431
Default Alt Text
D25788.id75210.diff (418 B)
Attached To
Mode
D25788: ng_iface(4): Set the current VNET before calling netisr_dispatch().
Attached
Detach File
Event Timeline
Log In to Comment