linux-uconsole/drivers/infiniband/core
Håkon Bugge d884abbda0 RDMA/cma: Fix false error message
[ Upstream commit a6e4d254c1 ]

In addr_handler(), assuming status == 0 and the device already has been
acquired (id_priv->cma_dev != NULL), we get the following incorrect
"error" message:

RDMA CM: ADDR_ERROR: failed to resolve IP. status 0

Fixes: 498683c6a7 ("IB/cma: Add debug messages to error flows")
Link: https://lore.kernel.org/r/20190902092731.1055757-1-haakon.bugge@oracle.com
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:51:13 +01:00
..
addr.c RDMA: Directly cast the sockaddr union to sockaddr 2019-07-03 13:14:49 +02:00
agent.c
agent.h
cache.c
cgroup.c
cm.c
cm_msgs.h
cma.c RDMA/cma: Fix false error message 2020-01-27 14:51:13 +01:00
cma_configfs.c
cma_priv.h
core_priv.h
cq.c IB/core: Add an unbound WQ type to the new CQ API 2019-10-01 08:26:00 +02:00
device.c RDMA/core: Follow correct unregister order between sysfs and cgroup 2019-11-20 18:46:03 +01:00
fmr_pool.c
iwcm.c
iwcm.h
iwpm_msg.c
iwpm_util.c
iwpm_util.h
mad.c RDMA/core: Rate limit MAD error messages 2019-11-20 18:46:02 +01:00
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
mr_pool.c
multicast.c
netlink.c
nldev.c RDMA/nldev: Don't expose unsafe global rkey to regular user 2019-01-22 21:40:34 +01:00
opa_smi.h
packer.c
rdma_core.c
rdma_core.h
restrack.c RDMA/restrack: Protect from reentry to resource return path 2019-10-01 08:25:59 +02:00
roce_gid_mgmt.c
rw.c
sa.h
sa_query.c IB: directly cast the sockaddr union to aockaddr 2019-08-09 17:52:29 +02:00
security.c IB/core: Fix potential memory leak while creating MAD agents 2019-05-08 07:21:53 +02:00
smi.c
smi.h
sysfs.c
ucm.c
ucma.c
ud_header.c
umem.c
umem_odp.c
user_mad.c IB/core: Add mitigation for Spectre V1 2019-08-25 10:47:56 +02:00
uverbs.h RDMA/uverbs: Prevent potential underflow 2019-11-12 19:20:58 +01:00
uverbs_cmd.c
uverbs_ioctl.c
uverbs_main.c IB/uverbs: Fix OOPs upon device disassociation 2019-09-16 08:22:03 +02:00
uverbs_marshall.c
uverbs_std_types.c
uverbs_std_types_counters.c
uverbs_std_types_cq.c
uverbs_std_types_dm.c
uverbs_std_types_flow_action.c
uverbs_std_types_mr.c
uverbs_uapi.c RDMA/uverbs: check for allocation failure in uapi_add_elm() 2020-01-27 14:50:52 +01:00
verbs.c IB/core: Destroy QP if XRC QP fails 2019-05-08 07:21:53 +02:00