aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2020-02-12 09:26:29 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-02-19 14:25:52 -0400
commite4103312d7b7afb8a3a7a842a33ef2b1856b2c0f (patch)
treeb359ad631fb0566dae3963081aa660196b7fc7a3 /sound
parentLinux 5.6-rc2 (diff)
downloadlinux-dev-e4103312d7b7afb8a3a7a842a33ef2b1856b2c0f.tar.xz
linux-dev-e4103312d7b7afb8a3a7a842a33ef2b1856b2c0f.zip
Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"
This reverts commit 219d2e9dfda9431b808c28d5efc74b404b95b638. The call chain below requires the cm_id_priv's destination address to be setup before performing rdma_bind_addr(). Otherwise source port allocation fails as cma_port_is_unique() no longer sees the correct tuple to allow duplicate users of the source port. rdma_resolve_addr() cma_bind_addr() rdma_bind_addr() cma_get_port() cma_alloc_any_port() cma_port_is_unique() <- compared with zero daddr This can result in false failures to connect, particularly if the source port range is restricted. Fixes: 219d2e9dfda9 ("RDMA/cma: Simplify rdma_resolve_addr() error flow") Link: https://lore.kernel.org/r/20200212072635.682689-4-leon@kernel.org Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions