Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157558920
D21712.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
580 B
Referenced Files
None
Subscribers
None
D21712.diff
View Options
Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/sys/net/iflib.c
@@ -2263,8 +2263,11 @@
(sctx->isc_pause_frames == 0)))
goto hung;
- if (ifmp_ring_is_stalled(txq->ift_br))
+ if (txq->ift_qstatus != IFLIB_QUEUE_IDLE &&
+ ifmp_ring_is_stalled(txq->ift_br)) {
+ KASSERT(ctx->ifc_link_state == LINK_STATE_UP, ("queue can't be marked as hung if interface is down"));
txq->ift_qstatus = IFLIB_QUEUE_HUNG;
+ }
txq->ift_cleaned_prev = txq->ift_cleaned;
}
#ifdef DEV_NETMAP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 7:58 PM (14 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33453120
Default Alt Text
D21712.diff (580 B)
Attached To
Mode
D21712: iflib: Prevent watchdog from resetting idle queues
Attached
Detach File
Event Timeline
Log In to Comment