diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-08-26 22:52:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-26 14:33:28 -0700 |
commit | 3c95e5013b7f204a03757691367857b7b668163a (patch) | |
tree | c98c94dd3228237c755a41dff3f6a8c806760c58 /net/rds/ib_cm.c | |
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>
Diffstat (limited to 'net/rds/ib_cm.c')
0 files changed, 0 insertions, 0 deletions