IB/mlx4: Handle -ENOMEM in forward_trap()
authorDan Carpenter <error27@gmail.com>
Tue, 11 Jan 2011 01:42:06 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:06 +0000 (17:42 -0800)
commit1397490938aa0aca39001c3fd5a9fc9387110d86
tree8f4baeec7d2349f49face4ba9a90903afe4dca3f
parent030b4b3309e29c6c857d8521c3076743663c259e
IB/mlx4: Handle -ENOMEM in forward_trap()

ib_create_send_mad() can return ERR_PTR(-ENOMEM) here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/mad.c