diff options
| author | 2016-02-11 21:34:40 +0300 | |
|---|---|---|
| committer | 2016-02-11 20:00:30 -0800 | |
| commit | 2fbf6d61664ba04d4c7872cbb46720e49264cf3a (patch) | |
| tree | e61fc6db3455e664f2b9480dd3750cb62b3fedc3 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | staging: vt6656: replace explicit NULL comparison with ! operator (diff) | |
Staging: vt6655: Add check dma_mapping_error
This patch checks for dma_mapping_error() after using dma_map_single.
If the dma map fails we release skb buff allocated by dev_alloc_skb() to
avoid possible causes of resource leak.
Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
