Page MenuHomeFreeBSD

D38102.diff
No OneTemporary

D38102.diff

diff --git a/sys/net/if.c b/sys/net/if.c
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -4622,9 +4622,9 @@
}
int
-if_init(if_t ifp)
+if_init(if_t ifp, void *ctx)
{
- (*((struct ifnet *)ifp)->if_init)((struct ifnet *)ifp);
+ (*((struct ifnet *)ifp)->if_init)(ctx);
return (0);
}
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -784,7 +784,7 @@
void if_etherbpfmtap(if_t ifp, struct mbuf *m);
void if_vlancap(if_t ifp);
int if_transmit(if_t ifp, struct mbuf *m);
-int if_init(if_t ifp);
+int if_init(if_t ifp, void *ctx);
/*
* Traversing through interface address lists.

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 15, 1:19 PM (19 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15391289
Default Alt Text
D38102.diff (632 B)

Event Timeline