diff options
author | Stefano Stabellini <stefano.stabellini@xilinx.com> | 2021-02-15 08:53:44 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-02-15 08:53:44 +0100 |
commit | 36bf1dfb8b266e089afa9b7b984217f17027bf35 (patch) | |
tree | beb8cddf0a2e8db742905bc9b49d983e4d885220 /drivers/net/xen-netback | |
parent | Xen/gntdev: correct error checking in gntdev_map_grant_pages() (diff) | |
download | linux-36bf1dfb8b266e089afa9b7b984217f17027bf35.tar.xz linux-36bf1dfb8b266e089afa9b7b984217f17027bf35.zip |
xen/arm: don't ignore return errors from set_phys_to_machine
set_phys_to_machine can fail due to lack of memory, see the kzalloc call
in arch/arm/xen/p2m.c:__set_phys_to_machine_multi.
Don't ignore the potential return error in set_foreign_p2m_mapping,
returning it to the caller instead.
This is part of XSA-361.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Cc: stable@vger.kernel.org
Reviewed-by: Julien Grall <jgrall@amazon.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions