connection.c (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) | connection.c (5f9562ebe710c307adc5f666bf1a2162ee7977c0) |
---|---|
1/* 2 * Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 239 unchanged lines hidden (view full) --- 248 * This is what TCP does. 249 */ 250 trans = &rds_loop_transport; 251 } else { 252 /* No transport currently in use 253 * should end up here, but if it 254 * does, reset/destroy the connection. 255 */ | 1/* 2 * Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 239 unchanged lines hidden (view full) --- 248 * This is what TCP does. 249 */ 250 trans = &rds_loop_transport; 251 } else { 252 /* No transport currently in use 253 * should end up here, but if it 254 * does, reset/destroy the connection. 255 */ |
256 kfree(conn->c_path); |
|
256 kmem_cache_free(rds_conn_slab, conn); 257 conn = ERR_PTR(-EOPNOTSUPP); 258 goto out; 259 } 260 } 261 } 262 263 conn->c_trans = trans; --- 684 unchanged lines hidden --- | 257 kmem_cache_free(rds_conn_slab, conn); 258 conn = ERR_PTR(-EOPNOTSUPP); 259 goto out; 260 } 261 } 262 } 263 264 conn->c_trans = trans; --- 684 unchanged lines hidden --- |