Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108675831
D27260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
538 B
Referenced Files
None
Subscribers
None
D27260.diff
View Options
Index: head/sys/dev/e1000/if_em.c
===================================================================
--- head/sys/dev/e1000/if_em.c
+++ head/sys/dev/e1000/if_em.c
@@ -2234,8 +2234,10 @@
if (adapter->intr_type == IFLIB_INTR_MSIX)
iflib_irq_free(ctx, &adapter->irq);
- for (int i = 0; i < adapter->rx_num_queues; i++, que++) {
- iflib_irq_free(ctx, &que->que_irq);
+ if (que != NULL) {
+ for (int i = 0; i < adapter->rx_num_queues; i++, que++) {
+ iflib_irq_free(ctx, &que->que_irq);
+ }
}
if (adapter->memory != NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 6:01 AM (4 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16253817
Default Alt Text
D27260.diff (538 B)
Attached To
Mode
D27260: em: fix a null de-reference in em_free_pci_resources
Attached
Detach File
Event Timeline
Log In to Comment