diff options
| author | Nathan Hintz <[email protected]> | 2013-10-30 02:32:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-30 02:59:19 +0000 |
| commit | b757a62e9f0df5c997c666dca4ad81197b5d8917 (patch) | |
| tree | 9d5eea9809b64db417adbb5b4d375b1b6722f128 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ibm emac: Fix locking for enable/disable eob irq (diff) | |
| download | kernel-b757a62e9f0df5c997c666dca4ad81197b5d8917.tar.gz kernel-b757a62e9f0df5c997c666dca4ad81197b5d8917.zip | |
bgmac: don't update slot on skb alloc/dma mapping error
Don't update the slot in "bgmac_dma_rx_skb_for_slot" unless both the
skb alloc and dma mapping are successful; and free the newly allocated
skb if a dma mapping error occurs. This relieves the caller of the need
to deduce/execute the appropriate cleanup action required when an error
occurs.
Signed-off-by: Nathan Hintz <[email protected]>
Acked-by: Rafał Miłecki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
