IPoIB: Fix error path memory leak
Clean up properly if ib_query_pkey() or ib_query_gid() fail. Signed-off-by: NEli Cohen <eli@mellanox.co.il> Signed-off-by: NRoland Dreier <rolandd@cisco.com>
Showing
想要评论请 注册 或 登录
Clean up properly if ib_query_pkey() or ib_query_gid() fail. Signed-off-by: NEli Cohen <eli@mellanox.co.il> Signed-off-by: NRoland Dreier <rolandd@cisco.com>