commit | 3c95e5013b7f204a03757691367857b7b668163a | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Mon Aug 26 22:52:36 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 26 14:33:28 2019 -0700 |
tree | c98c94dd3228237c755a41dff3f6a8c806760c58 | |
parent | 72991b560681ef5c7cb5674f5daa9d8164168785 [diff] |
r8169: improve DMA handling in rtl_rx Move the call to dma_sync_single_for_cpu after calling napi_alloc_skb. This avoids calling dma_sync_single_for_cpu w/o handing control back to device if the memory allocation should fail. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>