Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102841469
D46667.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
D46667.diff
View Options
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -5750,7 +5750,7 @@
CTX_LOCK_INIT(ctx);
STATE_LOCK_INIT(ctx, device_get_nameunit(ctx->ifc_dev));
- ifp = ctx->ifc_ifp = if_alloc(IFT_ETHER);
+ ifp = ctx->ifc_ifp = if_alloc_dev(IFT_ETHER, dev);
/*
* Initialize our context's device specific methods
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 9:05 PM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11714983
Default Alt Text
D46667.diff (355 B)
Attached To
Mode
D46667: iflib: Use if_alloc_dev() to allocate the ifnet
Attached
Detach File
Event Timeline
Log In to Comment