diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-01-28 01:07:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 06:39:37 +0200 |
commit | 9343894a8b3d310ea580948835cc9e7ece537155 (patch) | |
tree | 1f63967e622384e95fbd9c63f67a367955e6b5d3 /net/lapb/lapb_subr.c | |
parent | 3926d04ddec241a503ad121e48b943ac773255ff (diff) |
net: adaptec: starfire: add checks for dma mapping errors
[ Upstream commit d1156b489fa734d1af763d6a07b1637c01bb0aed ]
init_ring(), refill_rx_ring() and start_tx() don't check
if mapping dma memory succeed.
The patch adds the checks and failure handling.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions