Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168182311
D8048.id20761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
769 B
Referenced Files
None
Subscribers
None
D8048.id20761.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
@@ -3580,16 +3580,18 @@
*/
hv_rf_on_close(sc);
- /* Give RNDIS enough time to flush all pending data packets. */
+ /*
+ * Give RNDIS enough time to flush all pending data packets.
+ */
pause("waitrx", (200 * hz) / 1000);
+ /*
+ * Drain RX/TX bufrings and interrupts.
+ */
nsubch = sc->hn_rx_ring_inuse - 1;
if (nsubch > 0)
subch = vmbus_subchan_get(sc->hn_prichan, nsubch);
- /*
- * Drain RX/TX bufrings and interrupts.
- */
if (subch != NULL) {
for (i = 0; i < nsubch; ++i)
hn_rx_drain(subch[i]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 27, 6:22 PM (8 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37408660
Default Alt Text
D8048.id20761.diff (769 B)
Attached To
Mode
D8048: hyperv/hn: Reorder the comment a little bit.
Attached
Detach File
Event Timeline
Log In to Comment