diff options
Diffstat (limited to 'ring_tx.c')
-rw-r--r-- | ring_tx.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -64,10 +64,7 @@ retry: sizeof(ring->layout)); if (errno == ENOMEM && ring->layout.tp_block_nr > 1) { - ring->layout.tp_block_nr >>= 1; - ring->layout.tp_frame_nr = ring->layout.tp_block_size / - ring->layout.tp_frame_size * - ring->layout.tp_block_nr; + shrink_ring_layout_generic(ring); goto retry; } |