Files
linux/drivers/net/ethernet/ibm
Thomas Falcon cda7382c11 ibmvnic: Fix unchecked return codes of memory allocations
[ Upstream commit 7c940b1a52 ]

The return values for these memory allocations are unchecked,
which may cause an oops if the driver does not handle them after
a failure. Fix by checking the function's return code.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-14 08:09:40 +02:00
..