]> Git Repo - linux.git/commit
rds: ib: add error handle
authorZhu Yanjun <[email protected]>
Tue, 7 Mar 2017 07:48:36 +0000 (02:48 -0500)
committerDavid S. Miller <[email protected]>
Thu, 9 Mar 2017 21:09:18 +0000 (13:09 -0800)
commit3b12f73a5c2977153f28a224392fd4729b50d1dc
treedc78465b72a0aeaed26e1fdb4e7baac6b9c92db5
parent67e303e0c7683957eb4e530453705a43a6d4f966
rds: ib: add error handle

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 <[email protected]>
Reviewed-by: Junxiao Bi <[email protected]>
Reviewed-by: Guanglei Li <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/ib_cm.c
This page took 0.053397 seconds and 4 git commands to generate.