Re: [PATCH 1/1] rds: ib: add error handle

2017-03-07 Thread Santosh Shilimkar
On 3/6/2017 11:48 PM, Zhu Yanjun wrote: 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: Guanglei Li Signed-off-by: Zhu Yanjun --- Lo

[PATCH 1/1] rds: ib: add error handle

2017-03-06 Thread Zhu Yanjun
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: Guanglei Li Signed-off-by: Zhu Yanjun --- net/rds/ib_cm.c | 47 +++