Page MenuHomeFreeBSD

D27260.diff
No OneTemporary

D27260.diff

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

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)

Event Timeline