tcp_send.c (552c69b36ebd966186573b9c7a286b390935cce1) | tcp_send.c (eee2fa6ab3225192d6d894c54a6fb02ac9efdff6) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2006 Oracle. All rights reserved. | 2 * Copyright (c) 2006, 2017 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: 9 * 10 * Redistribution and use in source and binary forms, with or --- 137 unchanged lines hidden (view full) --- 148 rds_tcp_stats_inc(s_tcp_sndbuf_full); 149 ret = 0; 150 } else { 151 /* No need to disconnect/reconnect if path_drop 152 * has already been triggered, because, e.g., of 153 * an incoming RST. 154 */ 155 if (rds_conn_path_up(cp)) { | 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: 9 * 10 * Redistribution and use in source and binary forms, with or --- 137 unchanged lines hidden (view full) --- 148 rds_tcp_stats_inc(s_tcp_sndbuf_full); 149 ret = 0; 150 } else { 151 /* No need to disconnect/reconnect if path_drop 152 * has already been triggered, because, e.g., of 153 * an incoming RST. 154 */ 155 if (rds_conn_path_up(cp)) { |
156 pr_warn("RDS/tcp: send to %pI4 on cp [%d]" | 156 pr_warn("RDS/tcp: send to %pI6c on cp [%d]" |
157 "returned %d, " 158 "disconnecting and reconnecting\n", 159 &conn->c_faddr, cp->cp_index, ret); 160 rds_conn_path_drop(cp, false); 161 } 162 } 163 } 164 if (done == 0) --- 66 unchanged lines hidden --- | 157 "returned %d, " 158 "disconnecting and reconnecting\n", 159 &conn->c_faddr, cp->cp_index, ret); 160 rds_conn_path_drop(cp, false); 161 } 162 } 163 } 164 if (done == 0) --- 66 unchanged lines hidden --- |