summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2018-04-19 08:28:11 -0700
committerSasha Levin <alexander.levin@microsoft.com>2018-05-22 21:36:39 -0400
commite890286e76381299e2f892a6a19c7799e05f60df (patch)
tree3a9bec72dcf9a7267b137ff9bd1f9f3b1d7e8d38 /scripts/basic/split-include.c
parent75e47a0fe7f24875106786f6d393c4356bcd8f91 (diff)
RDMA/ucma: Allow resolving address w/o specifying source address
[ Upstream commit 09abfe7b5b2f442a85f4c4d59ecf582ad76088d7 ] The RDMA CM will select a source device and address by consulting the routing table if no source address is passed into rdma_resolve_address(). Userspace will ask for this by passing an all-zero source address in the RESOLVE_IP command. Unfortunately the new check for non-zero address size rejects this with EINVAL, which breaks valid userspace applications. Fix this by explicitly allowing a zero address family for the source. Fixes: 2975d5de6428 ("RDMA/ucma: Check AF family prior resolving address") Cc: <stable@vger.kernel.org> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions