diff options
author | 2017-08-11 01:55:20 +0300 | |
---|---|---|
committer | 2017-08-11 14:42:28 -0700 | |
commit | 6aa200058e4df8a60681ddd67d7932fdf2ce58ab (patch) | |
tree | 6cf903dc180d4e3e7361b956149947972a4c47c5 /drivers/net/tun.c | |
parent | net: ipv4: set orig_oif based on fib result for local traffic (diff) | |
download | linux-dev-6aa200058e4df8a60681ddd67d7932fdf2ce58ab.tar.xz linux-dev-6aa200058e4df8a60681ddd67d7932fdf2ce58ab.zip |
wan: dscc4: add checks for dma mapping errors
The driver does not 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>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions