ixgbe: Fix memory leak in ixgbe when receiving traffic on DDP enabled rings
[deliverable/linux.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_main.c
index 17ad6a3c1be126f2d25cf7e8ce448a7385ec8fc2..cbb05d65960fa2f082fba86c5728fe3fcb679841 100644 (file)
@@ -1148,7 +1148,7 @@ static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring,
 
        /* alloc new page for storage */
        if (likely(!page)) {
-               page = alloc_pages(GFP_ATOMIC | __GFP_COLD,
+               page = alloc_pages(GFP_ATOMIC | __GFP_COLD | __GFP_COMP,
                                   ixgbe_rx_pg_order(rx_ring));
                if (unlikely(!page)) {
                        rx_ring->rx_stats.alloc_rx_page_failed++;
This page took 0.024868 seconds and 5 git commands to generate.