[PATCH for 4.9 31/39] rds: ib: add error handle

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Zhu Yanjun [ Upstream commit 3b12f73a5c2977153f28a224392fd4729b50d1dc ] In the function rds_ib_setup_qp, the error handle is missing. When some error occurs, it is possible that memory leak occurs. As such, error handle is added. Cc: Joe Jin

[PATCH for 4.9 31/39] rds: ib: add error handle

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Zhu Yanjun [ Upstream commit 3b12f73a5c2977153f28a224392fd4729b50d1dc ] In the function rds_ib_setup_qp, the error handle is missing. When some error occurs, it is possible that memory leak occurs. As such, error handle is added. Cc: Joe Jin Reviewed-by: Junxiao Bi Reviewed-by: