FreeBSD Bugzilla – Attachment 148742 Details for
Bug 194665
net/aoe and VIMAGE enabled kernel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch aonet.c to compile with -DVIMAGE, does not work!
file_194665.txt (text/plain), 1.15 KB, created by
Andreas Neiser
on 2014-10-28 17:10:58 UTC
(
hide
)
Description:
patch aonet.c to compile with -DVIMAGE, does not work!
Filename:
MIME Type:
Creator:
Andreas Neiser
Created:
2014-10-28 17:10:58 UTC
Size:
1.15 KB
patch
obsolete
>@@ -300,7 +300,7 @@ > h->ah_cmd = AOECMD_CFG; > > IFNET_RLOCK(); >- TAILQ_FOREACH(ifp, &ifnet, if_link) { >+ TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > if (!is_aoe_netif(ifp)) > continue; > memcpy(h->ah_src, IFPADDR(ifp), sizeof(h->ah_src)); >@@ -502,7 +502,7 @@ > > #ifdef FORCE_NETWORK_HOOK > IFNET_RLOCK(); >- TAILQ_FOREACH(ifp, &ifnet, if_link) { >+ TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > if (!is_aoe_netif(ifp)) { > if (ifp->if_input == aoe_ether_input) > ifp->if_input = old_ether_input; >@@ -527,7 +527,7 @@ > struct ifnet *ifp; > > IFNET_RLOCK(); >- TAILQ_FOREACH(ifp, &ifnet, if_link) { >+ TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > #if __FreeBSD_version >= 1100030 > switch (ifp->if_type) { > #else >@@ -560,7 +560,7 @@ > struct ifnet *ifp; > > IFNET_RLOCK(); >- TAILQ_FOREACH(ifp, &ifnet, if_link) { >+ TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > #if __FreeBSD_version >= 1100030 > switch (ifp->if_type) { > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194665
:
148742