alistair23-linux/net/rds
Gustavo A. R. Silva dc66fe43b7 rds: send: Fix dead code in rds_sendmsg
Currently, code at label *out* is unreachable. Fix this by updating
variable *ret* with -EINVAL, so the jump to *out* can be properly
executed instead of directly returning from function.

Addresses-Coverity-ID: 1472059 ("Structurally dead code")
Fixes: 1e2b44e78e ("rds: Enable RDS IPv6 support")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-25 22:37:31 -07:00
..
af_rds.c rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
bind.c rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
cong.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
connection.c rds: Extend RDS API for IPv6 support 2018-07-23 21:17:44 -07:00
ib.c rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00
ib.h rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
ib_cm.c rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
ib_fmr.c net/rds/ib_fmr.c: use kmalloc_array_node() 2017-11-15 18:21:02 -08:00
ib_frmr.c RDS: IB: split the mr registration and invalidation path 2017-01-02 14:02:47 -08:00
ib_mr.h rds: Extend RDS API for IPv6 support 2018-07-23 21:17:44 -07:00
ib_rdma.c rds: Extend RDS API for IPv6 support 2018-07-23 21:17:44 -07:00
ib_recv.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
ib_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
ib_send.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
ib_stats.c RDS: IB: add few useful cache stasts 2017-01-02 14:02:51 -08:00
ib_sysctl.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
info.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
info.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig net/rds/Kconfig: RDS should depend on IPV6 2018-07-25 22:33:05 -07:00
loop.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
loop.h rds: clean up loopback rds_connections on netns deletion 2018-06-27 10:11:03 +09:00
Makefile rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00
message.c rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00
page.c rds: remove dead code 2016-12-26 21:35:39 -05:00
rdma.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
rdma_transport.c rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00
rdma_transport.h rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
rds.h rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
rds_single_path.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
recv.c rds: Extend RDS API for IPv6 support 2018-07-23 21:17:44 -07:00
send.c rds: send: Fix dead code in rds_sendmsg 2018-07-25 22:37:31 -07:00
stats.c net/rds: zero last byte for strncpy 2013-03-08 00:35:44 -05:00
sysctl.c net: rds: fix coding style issues 2016-06-18 21:34:09 -07:00
tcp.c rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00
tcp.h rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
tcp_connect.c rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
tcp_listen.c rds: Enable RDS IPv6 support 2018-07-23 21:17:44 -07:00
tcp_recv.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
tcp_send.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
tcp_stats.c net: rds: fix const array syntax 2011-07-01 16:16:19 -07:00
threads.c rds: Changing IP address internal representation to struct in6_addr 2018-07-23 21:17:44 -07:00
transport.c rds: remove trailing whitespace and blank lines 2018-07-24 14:10:42 -07:00