diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2017-03-07 02:48:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 13:09:18 -0800 |
commit | 3b12f73a5c2977153f28a224392fd4729b50d1dc (patch) | |
tree | dc78465b72a0aeaed26e1fdb4e7baac6b9c92db5 /net/rds/tcp.h | |
parent | 67e303e0c7683957eb4e530453705a43a6d4f966 (diff) |
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 <joe.jin@oracle.com>
Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com>
Reviewed-by: Guanglei Li <guanglei.li@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp.h')
0 files changed, 0 insertions, 0 deletions