Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169593243
D5386.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1003 B
Referenced Files
None
Subscribers
None
D5386.id.diff
View Options
Index: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
+++ head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
@@ -998,14 +998,14 @@
* dispatch this packet sending (and sending of any
* following up packets) to tx taskqueue.
*/
- IF_PREPEND(&ifp->if_snd, m_head);
+ IFQ_DRV_PREPEND(&ifp->if_snd, m_head);
return 1;
}
txd = hn_txdesc_get(txr);
if (txd == NULL) {
txr->hn_no_txdescs++;
- IF_PREPEND(&ifp->if_snd, m_head);
+ IFQ_DRV_PREPEND(&ifp->if_snd, m_head);
atomic_set_int(&ifp->if_drv_flags, IFF_DRV_OACTIVE);
break;
}
@@ -1019,7 +1019,7 @@
error = hn_send_pkt(ifp, device_ctx, txr, txd);
if (__predict_false(error)) {
/* txd is freed, but m_head is not */
- IF_PREPEND(&ifp->if_snd, m_head);
+ IFQ_DRV_PREPEND(&ifp->if_snd, m_head);
atomic_set_int(&ifp->if_drv_flags, IFF_DRV_OACTIVE);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 12:38 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38038162
Default Alt Text
D5386.id.diff (1003 B)
Attached To
Mode
D5386: hyperv/hn: Use IFQ_DRV_PREPEND instead of IF_PREPEND
Attached
Detach File
Event Timeline
Log In to Comment