Page MenuHomeFreeBSD

D46667.diff
No OneTemporary

D46667.diff

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

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)

Event Timeline