FreeBSD Bugzilla – Attachment 147831 Details for
Bug 194035
[patch] emulators/virtualbox-ose-kmod on head
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
the patch
patch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c (text/x-csrc), 545 bytes, created by
Gleb Smirnoff
on 2014-09-30 10:11:37 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
Gleb Smirnoff
Created:
2014-09-30 10:11:37 UTC
Size:
545 bytes
patch
obsolete
>--- src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c.orig 2014-09-30 13:34:15.000000000 +0400 >+++ src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c 2014-09-30 13:34:27.000000000 +0400 >@@ -234,7 +234,11 @@ > ifp->if_drv_flags |= IFF_DRV_OACTIVE; > while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) > { >+#if __FreeBSD_version >= 1100036 >+ if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1); >+#else > ifp->if_opackets++; >+#endif > IFQ_DRV_DEQUEUE(&ifp->if_snd, m); > BPF_MTAP(ifp, m); > m_freem(m);
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 Raw
Actions:
View
Attachments on
bug 194035
: 147831