summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2018-04-19 08:28:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-16 10:06:48 +0200
commit28d459015ec550a8b7c991163a230ecc295ddef1 (patch)
tree5f71e7f1eb5783a374b9eeb9ef9b940827ac9ee1 /tools/perf/scripts/python
parent4e2aa6460fca7a8b8cf7320efa2ecb91d1dd394c (diff)
RDMA/ucma: Allow resolving address w/o specifying source address
commit 09abfe7b5b2f442a85f4c4d59ecf582ad76088d7 upstream. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions