linux/drivers/infiniband
Colin Ian King 4831ca9e4a IB/rxe: check for allocation failure on elem
The allocation for elem may fail (especially because we're using
GFP_ATOMIC) so best to check for a null return.  This fixes a potential
null pointer dereference when assigning elem->pool.

Detected by CoverityScan CID#1357507 ("Dereference null return value")

Fixes: 8700e3e7c4 ("Soft RoCE driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-10-09 09:03:16 -04:00
..
core IB/core: Do not warn on lid conversions for OPA 2017-10-04 15:39:45 -04:00
hw IB/hfi1: Do not warn on lid conversions for OPA 2017-10-04 15:39:45 -04:00
sw IB/rxe: check for allocation failure on elem 2017-10-09 09:03:16 -04:00
ulp IB/{ipoib, iser}: Consistent print format of vendor error 2017-09-29 11:18:56 -04:00
Kconfig IB: Move PCI dependency from root KConfig to HW's KConfigs 2017-09-27 08:54:19 -04:00
Makefile